petab.visualize.plotting_config

Plotting config

Functions

plot_lowlevel(plot_spec, ax, conditions, ms, …) plotting routine / preparations: set properties of figure and plot the data with given specifications (lineplot with errorbars, or barplot)
square_plot_equal_ranges(ax[, lim]) Square plot with equal range for scatter plots
petab.visualize.plotting_config.plot_lowlevel(plot_spec: pandas.core.series.Series, ax: matplotlib.pyplot.Axes, conditions: pandas.core.series.Series, ms: pandas.core.frame.DataFrame, plot_sim: bool)

plotting routine / preparations: set properties of figure and plot the data with given specifications (lineplot with errorbars, or barplot)

Parameters:
  • plot_spec – contains defined data format (visualization file)
  • ax – axes to which to plot
  • conditions – pd.Series, Values on x-axis
  • ms – pd.DataFrame, containing measurement data which should be plotted
  • plot_sim – bool, tells whether or not simulated data should be plotted as well
petab.visualize.plotting_config.square_plot_equal_ranges(ax, lim=None)

Square plot with equal range for scatter plots