desc.plotting.plot_logo
- desc.plotting.plot_logo(savepath=None, **kwargs)[source]
Plot the DESC logo.
- Parameters:
savepath (str or path-like) – path to save the figure to. File format is inferred from the filename (Default value = None)
**kwargs – additional plot formatting parameters. options include
'Dcolor'
,'Dcolor_rho'
,'Dcolor_theta'
,'Ecolor'
,'Scolor'
,'Ccolor'
,'BGcolor'
,'fig_width'
- Returns:
fig (matplotlib.figure.Figure) – handle to the figure used for plotting
ax (matplotlib.axes.Axes) – handle to the axis used for plotting
Examples
from desc.plotting import plot_logo plot_logo(savepath='../_static/images/plotting/plot_logo.png')