Quantcast
Channel: BlogoSfera » contents
Viewing all articles
Browse latest Browse all 16

How to plot a list of tuples into a tkinter Canvas?

$
0
0

So I have this list: x=[(1,2),(2,3),(4,5)] Now I have to plot these points in a canvas. In a scatter graph within the Canvas. The contents of tuples in the list may vary so it has to automatically adjust the canvas depending on the maximum and minimum (x,y) values recorded in a tuple such as this: […]

The post How to plot a list of tuples into a tkinter Canvas? appeared first on BlogoSfera.


Viewing all articles
Browse latest Browse all 16

Trending Articles