daleroberts / itermplot

An awesome iTerm2 backend for Matplotlib, so you can plot directly in your terminal.
1.49k stars 51 forks source link

itermplot's most recent release on pypi is 0.331 #57

Open aleaverfay opened 1 year ago

aleaverfay commented 1 year ago

The problem raised in issue #43 and that you fixed with PR #44 recently caused me problems. I encountered this error:

TypeError: print_png() got an unexpected keyword argument 'facecolor'

where matplotlib 3.7.1 was passing "facecolor" in as an kwargument and then complaining about it when itermplot gave it right back, which made me scratch my head a little, but I see the fix in PR #44 is simply to stop pasing kwargs down. It turns out that if you do not specify a version of itermplot to pypi, it will install what it seems to think the the most recent version, version 0.331. Indeed, if you ask pypi for the history of itermplot, it says the most recent version is 0.331 uploaded in June of 2018.

https://pypi.org/project/itermplot/#history

However, if you say "I want version 0.5," pypi will give it to you.

Since 0.331 is not compatible with the more recent versions of matplotlib, could you bump the release version on pypi / note the version incompatibility between 0.331 and matplotlib > 3.3 (when the API change took effect)?

cleemesser commented 9 months ago

Also, on a related note, the github default branch has version 0.4 in the setup.py file

jabirali commented 4 months ago

To anyone else who ends up here: pip install itermplot==0.5 works great with the lastest Matplotlib, pip install itermplot doesn't work.