-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #41 from mmschlk/feature-plots
Adds Stacked Bar Plot and tidyies up Network Plot.
- Loading branch information
Showing
8 changed files
with
480 additions
and
131 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
"""This module contains all plotting functions for the shapiq package.""" | ||
|
||
from .network import network_plot | ||
from .stacked_bar import stacked_bar_plot | ||
|
||
__all__ = [ | ||
"network_plot", | ||
] | ||
__all__ = ["network_plot", "stacked_bar_plot"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,29 @@ | ||
"""This module contains the configuration for the shapiq visualizations.""" | ||
from colour import Color | ||
|
||
RED = Color("#ff0d57") | ||
BLUE = Color("#1e88e5") | ||
NEUTRAL = Color("#ffffff") | ||
|
||
__all__ = [ | ||
"RED", | ||
"BLUE", | ||
"NEUTRAL", | ||
"LINES", | ||
"COLORS_N_SII", | ||
] | ||
|
||
RED = Color("#ff0d57") | ||
BLUE = Color("#1e88e5") | ||
NEUTRAL = Color("#ffffff") | ||
LINES = Color("#cccccc") | ||
|
||
COLORS_N_SII = [ | ||
"#D81B60", | ||
"#FFB000", | ||
"#1E88E5", | ||
"#FE6100", | ||
"#7F975F", | ||
"#74ced2", | ||
"#708090", | ||
"#9966CC", | ||
"#CCCCCC", | ||
"#800080", | ||
] | ||
COLORS_N_SII = COLORS_N_SII * (100 + (len(COLORS_N_SII))) # repeat the colors list |
Oops, something went wrong.