BioSANS2020.gui_functs.prepare_canvas

This is the prepare_canvas module

This module prepare the canvas for drawing figures, plots and images.

The following is the list of function for this module:

  1. prepare_frame_for_plot

Module Contents

Functions

prepare_frame_for_plot(frame1a, width=1030, height=465)

This function prepares the frame that will serve as a parent of

BioSANS2020.gui_functs.prepare_canvas.prepare_frame_for_plot(frame1a, width=1030, height=465)

This function prepares the frame that will serve as a parent of the canvas that will serve as a parent of many frames that will contain figures, image, and plots. Args:

frame1a : the parent frame width : width of frame1a height : height frame1a

Returns:

tuple : (canvas, scroll_x, scroll_y)