MATPLOTLIBPeakMapPlot#

class pyopenms_viz._matplotlib.MATPLOTLIBPeakMapPlot(data, **kwargs)#

Bases: MATPLOTLIB_MSPlot, PeakMapPlot

Class for assembling a matplotlib feature heatmap plot

_add_box_boundaries(annotation_data)#

Prepare data for adding box boundaries to the plot.

Parameters:

annotation_data (DataFrame) – The feature data containing the box boundaries.

Returns:

None

_create_figure()#

Create a figure and axes objects, for consistency with other backends, the fig object stores the matplotlib axes object

create_x_axis_plot(canvas=None)#

main_fig = figure of the main plot (used for measurements in bokeh) ax = ax to plot the x_axis on (specific for matplotlib)

plot()#

Create the plot