ccu.fancyplots._gui.footer

Miscellaneous GUI elements for FancyPlots.

This module defines the FooterSection class which contains various ttk.Button instances for saving and displaying the graph, resetting parameters, and showing documentation.

class ccu.fancyplots._gui.footer.FooterSection(parent: FancyPlotsGUI, *args, **kwargs)[source]

Bases: Frame, UpdatableFrame

A collection of utility buttons for settings, instructions, and graphs.

Variables:
  • parent – A FancyPlotsGUI.

  • reset_button – A ttk.Button for resetting formatting parameters.

  • show_button – A ttk.Button for showing the free energy diagram.

  • save_button – A ttk.Button for saveing the free energy diagram.

  • palette_button – A ttk.Button for showing the matplotlib palette.

  • instructions_button – A ttk.Button for showing the instructions of how to use FancyPlots.

Create a section with miscellaneous GUI elements.

Parameters:
  • parent – The running root.FancyPlotsGUI instance.

  • *args – Positional arguments for tkinter.Toplevel.

  • **kwargs – Keyword arguments fo tkinter.Toplevel.

_abc_impl = <_abc._abc_data object>
_is_protocol = False
_organize() None[source]
reset_defaults() None[source]

Reset the formatting parameters to their default values.

save_figure() None[source]

Save the free energy diagram.

show_graph() None[source]

Show the free energy diagram.

show_instructions() None[source]

Show the FancyPlots walkthrough.

show_palette() None[source]

Show the matplotlib colour palette.

update_frames() None[source]

Empty function.