Re: [sympy] List to Polygon

2024-01-01 Thread 'Jakob Hammersen' via sympy
polygon = [(0,0),(200,0),(200,250),(150,100)] poly = Polygon(polygon) this is what im trying to do but as I said, I get a " ValueError: Nonzero coordinates cannot be removed" when i run the code. illu...@gmail.com schrieb am Sonntag, 31. Dezember 2023 um 20:16:54 UTC+1: Can you show the sectio

Re: [sympy] List to Polygon

2024-01-01 Thread phi ARCHITECT
This stumped me for a moment, too, You need to expand the list of tuples: poly = Polygon(*polygon) On Mon, Jan 1, 2024 at 9:31 AM 'Jakob Hammersen' via sympy < sympy@googlegroups.com> wrote: > polygon = [(0,0),(200,0),(200,250),(150,100)] > > poly = Polygon(polygon) > > this is what im tryin

Re: [sympy] List to Polygon

2024-01-01 Thread 'Jakob Hammersen' via sympy
Thanks alot, now it works illu...@gmail.com schrieb am Montag, 1. Januar 2024 um 19:56:30 UTC+1: > This stumped me for a moment, too, > > You need to expand the list of tuples: > > poly = Polygon(*polygon) >

Re: [sympy] List to Polygon

2024-01-01 Thread phi ARCHITECT
Yeah - the error doesn't make sense for the context On Mon, Jan 1, 2024 at 11:24 AM 'Jakob Hammersen' via sympy < sympy@googlegroups.com> wrote: > Thanks alot, now it works > > illu...@gmail.com schrieb am Montag, 1. Januar 2024 um 19:56:30 UTC+1: > >> This stumped me for a moment, too, >> >> You

[sympy] Nice display of integral, sum, product, etc. for Sympy on MS Windows

2024-01-01 Thread Robert Dodier
Hi, I am working on a nicer terminal display for Maxima based on Unicode characters. I've made some progress and I am hoping to get some info about how Sympy displays stuff which could inform the stuff I'm doing. On my Ubuntu system, it looks like isympy makes use of Unicode characters for appr

Re: [sympy] Nice display of integral, sum, product, etc. for Sympy on MS Windows

2024-01-01 Thread Aaron Meurer
I recommend the font Deja Vu Sans Mono for viewing SymPy Unicode pretty printed output https://dejavu-fonts.github.io/. It has the INTEGRAL_EXTENSIOn glyph you mention and it's the only font I know of that actually renders it correctly. It's free and as far as I know it should work on Windows. Of