matplotlib - python - how do i create a figure that fills the screen? -
I would like to show a figure on the entire screen or at least the "white space" in the shape window. Now I use plt.tight_layout () and can get rid of some of it but note it altogether, ideally, I want to maximize it and get rid of any axis.
import matplotlib.pyplot as plt plt.plot (category (10), category (10)) plt.tight_layout () # & lt; - Probably something better here: plt.get_current_fig_manager () mng.full_screen_toggle ()
Will get rid of white space and axis. Although I'm not sure about making it a full screen. Is mng.full_screen_toggle ()
not working for you?
Comments
Post a Comment