Pyplot graph size - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: Pyplot graph size (/thread-32162.html) |
Pyplot graph size - TammyP - Jan-25-2021 I am reading from an excel sheet and plotting various results. #set plot plt.plot(df[str('Temperature')], ls='-') # set label plt.xlabel('Hours since start') plt.ylabel('temp') plt.title('Temperature "C"') #plt.legend('Legend') mng = plt.get_current_fig_manager() mng.full_screen_toggle() plt.show()when the graph fills the screen as I want, I cannot see how to get back to normal size. Using ctr esc has no effect Can anyone help a beginner ? RE: Pyplot graph size - TammyP - Jan-26-2021 And here is the answer plt.figure(figsize=(14, 6)) instead of filling the screen with mng = plt.get_current_fig_manager() mng.full_screen_toggle() |