Utilities
pyzentropy.plotly_utils
- pyzentropy.plotly_utils.format_plot(fig, xtitle, ytitle, width=840, height=600)[source]
Apply consistent formatting to a Plotly figure.
- Parameters:
fig (
Figure) – Plotly figure to format.xtitle (
str) – Title of the x-axis.ytitle (
str) – Title of the y-axis.width (
int) – Plot width in pixels. Defaults to 840.height (
int) – Plot height in pixels. Defaults to 600.
- Return type:
None