petab.visualize.plotting_config

Plotting config

Functions

plot_lowlevel(vis_spec, ax, axx, axy, …) plotting routine / preparations: set properties of figure and plot the data with given specifications (lineplot with errorbars, or barplot)
petab.visualize.plotting_config.plot_lowlevel(vis_spec: pandas.core.frame.DataFrame, ax: numpy.ndarray, axx: int, axy: int, conditions: pandas.core.series.Series, ms: pandas.core.frame.DataFrame, ind_plot: pandas.core.series.Series, i_visu_spec: int, plot_sim: bool)

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

Parameters:
  • vis_spec – pandas data frame, contains defined data format (visualization file)
  • ax – np.ndarray, matplotlib.Axes
  • axx – int, subplot axis indices for x
  • axy – int, subplot axis indices for y
  • conditions – pd.Series, Values on x-axis
  • ms – pd.DataFrame, containing measurement data which should be plotted
  • ind_plot – pd.Series, boolean vector, with size: len(rows in visualization file) x 1 with ‘True’ entries for rows which should be plotted
  • i_visu_spec – int64, current index (row number) of row which should be plotted in visualizationSpecification file
  • plot_sim – bool, tells whether or not simulated data should be plotted as well
Returns:

ax

Return type:

matplotlib.Axes