pyviability.tsm_style module¶
Provide the colors and plotting styles used for TSM framework.
-
pyviability.tsm_style.
relative_color_filepath
= 'colors.soc'¶ relative path to the color file
-
pyviability.tsm_style.
styleDefault
= {'linewidth': 3, 'color': '#8888ff', 'arrowsize': 1.5}¶ plotting kwargs for the default flow
-
pyviability.tsm_style.
styleMod1
= {'linewidth': 1, 'color': '#000088', 'linestyle': 'dotted', 'arrowsize': 1.5}¶ plotting kwargs for the management flow, version 1
-
pyviability.tsm_style.
styleMod2
= {'linewidth': 1, 'color': '#000088', 'linestyle': '--', 'arrowsize': 1.5}¶ plotting kwargs for the management flow, version 2
-
pyviability.tsm_style.
stylePoint
= {'markersize': 10}¶ basic style of a point used in TSM plots
-
pyviability.tsm_style.
tsm_colors
= {'Default Flow': '#8888ff', 'management': '#000088', 'Upstream (borders)': '#006600', 'Shelters (upstream)': '#99ff99', 'Glades (upstream)': '#66ff66', 'Lakes (upstream)': '#00cc00', 'Sunny Upstream (remaining)': '#009900', 'Dark Upstream': '#b2b2b2', 'Downstream (borders)': '#996600', 'Backwaters (downstream)': '#e7cc00', 'Sunny Downstream (remaining)': '#cc9900', 'Dark Downstream': '#999999', 'Eddies (border)': '#ff0000', 'Sunny Eddies': '#ff6666', 'Dark Eddies': '#808080', 'Abysses (border)': '#cc0000', 'Sunny Abysses': '#990000', 'Dark Abysses': '#666666', 'Trenches': '#505050', 'Boundary': '#444444', 'Area Boundary': '#FFFFFF', 'cAreaBound': '#FFFFFF', 'cBackwaters': '#e7cc00', 'cBound': '#444444', 'cDarkAbyss': '#666666', 'cDarkDown': '#999999', 'cDarkEddie': '#808080', 'cDarkUp': '#b2b2b2', 'cDefault': '#8888ff', 'cGlade': '#66ff66', 'cLake': '#00cc00', 'cShelter': '#99ff99', 'cSunnyAbyss': '#990000', 'cSunnyDown': '#cc9900', 'cSunnyEddie': '#ff6666', 'cSunnyUp': '#009900', 'cTrench': '#505050', 'cMod': '#000088'}¶ provide all colors from the TSM framework, automatically loaded from ‘relative_color_filepath’