biosimulators_utils.viz package#
Subpackages#
Submodules#
biosimulators_utils.viz.data_model module#
Data model for plots
- Author:
Jonathan Karr <karr@mssm.edu>
- Date:
2020-12-06
- Copyright:
2020, Center for Reproducible Biomedical Modeling
- License:
MIT
biosimulators_utils.viz.io module#
Methods for generating SED plots
- Author:
Jonathan Karr <karr@mssm.edu>
- Date:
2020-12-23
- Copyright:
2020, Center for Reproducible Biomedical Modeling
- License:
MIT
- biosimulators_utils.viz.io.write_plot_2d(plot, data_generator_results, base_path, rel_path, format=VizFormat.pdf, style='seaborn-v0_8-bright')[source]#
Generate a 2D plot
- Parameters:
plot (
Plot2D
) – description of plotdata_generator_results (
DataGeneratorResults
) – results of data generatorsbase_path (
str
) – base path to save plotrel_path (
str
) – path to save results relative tobase_path
format (
VizFormat
, optional) – formatstyle (
str
, optional) – matplotlib style
- biosimulators_utils.viz.io.write_plot_3d(plot, data_generator_results, base_path, rel_path, format=VizFormat.pdf, style='seaborn-v0_8-bright', colormaps=[<matplotlib.colors.ListedColormap object>, <matplotlib.colors.ListedColormap object>, <matplotlib.colors.ListedColormap object>, <matplotlib.colors.ListedColormap object>, <matplotlib.colors.ListedColormap object>])[source]#
Generate a 3D plot
- Parameters:
plot (
Plot3D
) – description of plotdata_generator_results (
DataGeneratorResults
) – results of data generatorsbase_path (
str
) – base path to save plotrel_path (
str
) – path to save results relative tobase_path
format (
VizFormat
, optional) – formatstyle (
str
, optional) – matplotlib stylecolormaps (
list
ofmatplotlib.colors.LinearSegmentedColormap
, optional) – colormaps
biosimulators_utils.viz.utils module#
Utilities for visualizations
- Author:
Jonathan Karr <karr@mssm.edu>
- Date:
2021-07-22
- Copyright:
2021, Center for Reproducible Biomedical Modeling
- License:
MIT
biosimulators_utils.viz.warnings module#
Warnings for plots
- Author:
Jonathan Karr <karr@mssm.edu>
- Date:
2021-01-20
- Copyright:
2021, Center for Reproducible Biomedical Modeling
- License:
MIT
- exception biosimulators_utils.viz.warnings.IllogicalVizWarning[source]#
Bases:
BioSimulatorsWarning
Warning that a plot is may be illogical (e.g., has mixed axes or scales)