Tkinter window changes dimensions or resolution when I use pyplot
Under windows customize display there's a scrollbar for:"Change the size of text, apps and other items: 150% (Recommended)"
When I changed that to 100% the tkinter window no longer resizes.
Thank you @R.p.T for trying to assist me!
In stead of using plt.plot(x)
, you might want to use plt.Figure()
first. To be more specific, plotting()
function can be constructed as follows.
def plotting(): fig = plt.Figure() ax = fig.add_subplot() ax.plot(x)
Then, you can work on fig
to realize the functions.