Closed JuanCab closed 11 months ago
Is this a duplicate of #1057 and has been fixed in https://github.com/ejeschke/ginga/pull/1058 ?
Yeah, it appears to be a duplicate. Sorry, I searched for the wrong term before posting.
@JuanCab, tip: if you are using in a notebook, install pycairo
to get the best rendering.
Ginga currently relies on a
textsize
attribute in Pillow that is now deprecated in Pillow 10.0.0. Temporary solution is to go back to Pillow 9.5.0, but this should probably addressed.Specifically: while running ginga I get a chain of errors that comes down to:
Turns out according to this documentation for Pillow 10.0.0 that
textsize
has been deprecated. It has been replaced withtextlength
. I did a quick experiment and replacedtextsize
withtextlength
in the calls inpilw/PilHelp.py
but that doesn't fix it, apparently what is returned is changed as well. Did not have time to further investigate.