sidpy.viz.jupyter_utils.save_fig_filebox_button¶
- sidpy.viz.jupyter_utils.save_fig_filebox_button(fig, filename)[source]¶
Create ipython widgets to allow the user to save a figure to the specified file.
- Parameters:
fig (matplotlib.Figure) – The figure to be saved.
filename (str) – The filename the figure should be saved to
- Returns:
widget_box – Widget box holding the text entry and save button
- Return type:
ipywidgets.HBox