p3analysis.plot.backend package¶
Submodules¶
p3analysis.plot.backend.matplotlib module¶
Contains objects for interacting with plots produced using the
matplotlib backend.
- class p3analysis.plot.backend.matplotlib.CascadePlot(df, eff_column, size=None, fig=None, axes=None, **kwargs)¶
Bases:
CascadePlotCascade plot object for
matplotlib.- get_axes(subplot='eff')¶
- Parameters:
subplot ({'eff', 'pp', 'plat'}) – The name of the requested subplot. The options correspond to the efficiency cascade, performance portability bar chart, and platform chart, respectively.
- Returns:
The
matplotlib.axes.Axesused for the specified subplot.- Return type:
- get_figure()¶
- Returns:
The
matplotlib.figure.Figureused for the plot.- Return type:
- save(filename)¶
Save the plot to the specified file.
- Parameters:
filename (string)
Bases:
NavChartNavigation chart object for
matplotlib.- Returns:
The
matplotlib.axes.Axesused for the chart.- Return type:
- Returns:
The
matplotlib.figure.Figureused for the chart.- Return type:
Save the plot to the specified file.
- Parameters:
filename (string)
p3analysis.plot.backend.pgfplots module¶
Contains objects for interacting with plots produced using the
pgfplots backend.
- class p3analysis.plot.backend.pgfplots.CascadePlot(df, eff_column, size=None, stream=None, **kwargs)¶
Bases:
CascadePlotCascade plot object for
pgfplots.- save(filename)¶
Save the plot to the specified file.
- Parameters:
filename (string)
Bases:
NavChartNavigation chart object for
pgfplots.Save the plot to the specified file.
- Parameters:
filename (string)
Module contents¶
Contains backend-specific interfaces for customizing plots.
Tip
If you have any trouble customizing a plot, or the objects in this module do not provide access to the internals you are looking for, then please open an issue.
- class p3analysis.plot.backend.CascadePlot(backend)¶
Bases:
PlotBase class for cascade plot objects.
Bases:
PlotBase class for navigation chart objects.