psy_strat.plugin module¶
psy-strat psyplot plugin
This module defines the rcParams for the psy-strat plugin. This module will be imported when psyplot is imported. What is should contain is:
an rcParams variable as instance of
psyplot.config.rcsetup.RcParams
that describes the configuration of your plugina get_versions function that returns the version of your plugin and the ones from its requirements
Warning
Because of recursion issues, You have to load the psyplot module before loading this module! In other words, you have to type
import psyplot
import psy_strat.plugin
Functions
|
Get the versions of psy-strat and it’s requirements |
|
Validate a dictionary containing axiscolor definitions |
|
Validate the grouper formatoption |
|
Validate the hlines formatoption |
-
psy_strat.plugin.
get_versions
(requirements=True)[source]¶ Get the versions of psy-strat and it’s requirements
- Parameters
requirements (bool) – If True, the requirements are imported and it’s versions are included
-
psy_strat.plugin.
validate_axislinestyle
(value)[source]¶ Validate a dictionary containing axiscolor definitions
- Parameters
value (dict) – a mapping from ‘left’, ‘right’, ‘bottom’, ‘top’ to the linestyle
- Returns
- Return type
- Raises