+ 8

How to put canvas matplotlib figure a little bit down in tkinter python?

17th May 2019, 10:44 AM
Zhenis Otarbay
Zhenis Otarbay - avatar
7 Answers
+ 2
https://matplotlib.org/gallery/index.html figure means the numbers? which type of graph are you drawing
21st May 2019, 11:50 AM
Gordon
Gordon - avatar
+ 6
Gordon figure means graph, the graph should draw 3d frames
25th May 2019, 12:32 PM
Zhenis Otarbay
Zhenis Otarbay - avatar
+ 6
Gordon problem is not only here, the text label shall be upside of the matplotlib figure graph
25th May 2019, 1:03 PM
Zhenis Otarbay
Zhenis Otarbay - avatar
21st May 2019, 10:52 AM
Gordon
Gordon - avatar
+ 4
Sorry, haven't used matplotlib yet. :)
21st May 2019, 11:07 AM
HonFu
HonFu - avatar
+ 1
Zhenis Otarbay You can use the place() function instead of pack() and do something like: canvas.place(relx=0.5, rely=0.5, anchor=CENTER) this would place it at the center ref: https://stackoverflow.com/questions/13111679/positioning-canvas-in-window-tkinter-JUMP_LINK__&&__python__&&__JUMP_LINK
25th May 2019, 12:41 PM
Gordon
Gordon - avatar
+ 1
http://jasonrbriggs.com/journal/2016/12/08/text-position-in-tkinter.html
25th May 2019, 1:07 PM
Gordon
Gordon - avatar