draw_arc styles missing? #104
harpoonlobotomy
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've spent a decent few hours on this today, I'll admit.
In both the docs and the docstring, this list is given -
'pieslice', 'chord', 'arc', 'first', 'last', 'butt', 'projecting', 'round', 'bevel', 'miter'- as valid styles for Graph.draw_arc.But, using anything other than
arc,chordorpieslicegives the following error:Error encountered drawing arc. bad -style option "bevel": must be arc, chord, or piesliceLooking it up, plenty of places online give this list as the valid list of styles, but I've not found anyone talking about them not working - so it's entirely possible I'm missing something very obvious. My google-fu has failed to yield much of anything, so I figured I'd ask here.
The error is triggered here:
return self.tk.getint(self.tk.call(self._w, 'create', itemType, *(args + le_options))), around ln 3010 intkinter \ __init__.py, viaFreeSimpleGui \ elements \ graph.py's Graph.draw_arc(), and the only thing I can't gather is where in FSGui or TK thearc, chord, piesliceshortlist is pulled from.But, on a related note -- I did find something curious - does FSGui use PIL to draw its arcs?
(I'm aware this is a bit of a ramble, I've been neck deep in site-packages on no sleep for a little too long, hah.)
Beta Was this translation helpful? Give feedback.
All reactions