Repository navigation
Conversation
|
Can you also change around L1504 to default to passing |
|
@tacaswell, you must mean approximately line 1504 of Also, according to the CHANGELOG from 2007-09-06, backend canvases are not supposed to override the Alternatively, it seems that everything could be moved from |
|
Yes, I did mean in This does bring up a discussion of where the rcparam logic should be looked up and I do not have a clear answer for that off the top of my head. The toolbar just got a major overhaul. attn @OceanWolf I think I am on board with changing all of those calls to 'print_figure |
|
@tacaswell do you mean MEP22? sounds like a good idea to me. I do have plans to do more savefig overhaul as part of MEP22 as and when I get around to it (thesis, job interviews, etcetera, hopefully by this weekend) |
|
Yes, I guess the question is: As a general rule, should rcParams be handled as early as possible or as late as possible? I would expect that earlier is better. I could remove the kwarg-passing lines near L1504 of |
|
To clarify, by overhaul, I just mean moving out the backend specific savefig to backend.tools, we only need a mechanism to get a filename from the backend which a generic savefig method would call ( So yes, @u55 my concern only lies with a first pass to clear the specific backends of generic functionality, moving to |
|
@u55 Any progress on this? I am re-milestoning this to 'proposed next point release'. If it is ready it can go in, but it will not be a blocker for the next point release. |
|
Replaced by #6197. |
Fix for issue #3437. I implemented the rcParams for 'savefig.facecolor' and 'savefig.edgecolor', but I did not try to implement the 'savefig.transparent' option. This is only a temporary fix, as the savefig logic is currently duplicated in multiple places and should be refactored.