scanpy.pl.DotPlot.show
- DotPlot.show(return_axes=None)
Show the figure
- Parameters:
- return_axes :
Optional[bool] (default:None) If true return a dictionary with the figure axes. When return_axes is true then
matplotlib.pyplot.show()is not called.
- return_axes :
- Returns:
: If
return_axes=True: Dict ofmatplotlib.axes.Axes. The dict key indicates the type of ax (eg.mainplot_ax)
See also
render(): Renders the plot but does not callmatplotlib.pyplot.show()savefig(): Saves the plot.Examples
>>> adata = sc.datasets.pbmc68k_reduced() >>> markers = ['C1QA', 'PSAP', 'CD79A', 'CD79B', 'CST3', 'LYZ'] >>> sc.pl.Plot(adata, markers, groupby='bulk_labels').show()