Opened 11 years ago
Closed 11 years ago
#40151 closed defect (fixed)
py-matplotlib doesn't configure variants properly
Reported by: | irony42@… | Owned by: | seanfarley (Sean Farley) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.0 |
Keywords: | Cc: | petrrr, cmutel (Chris Mutel) | |
Port: | py27-matplotlib |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
port instal py..-matplotlib
for any variants will not install the agg backend, which prevents about half the variants from actually working as advertised. A bunch more of the variants would need
post-patch { reinplace "s|^agg=False|agg=True|" ${worksrcpath}/setup.cfg }
in order to work properly. However, if it were my call I'd just edit patch-setup.cfg.diff "+agg=False" to "+agg=True" (and not give any options to turn agg off). Matplotlib's default is to include the agg backend (which does not require any additional port dependencies), and it works great on OSX, so there's not too much advantage to ever disabling it.
Change History (7)
comment:1 Changed 11 years ago by irony42@…
comment:2 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | sean@… removed |
---|---|
Description: | modified (diff) |
Owner: | changed from macports-tickets@… to sean@… |
comment:5 Changed 11 years ago by cmutel (Chris Mutel)
Note that not installing the agg backend means that you don't get nice inline graphics in the ipython notebook, which is a major source of sadness...
comment:6 Changed 11 years ago by petrrr
I just would like to reference here ticket #40586, which I filed some time ago. It is not really a duplicate of this one, but could be considered related, i.e. solved at the same time.
comment:7 Changed 11 years ago by seanfarley (Sean Farley)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Thanks for the reminder. This is fixed in r114489.
Sorry about the formatting fail, that's