Ruth Comer

Results 454 comments of Ruth Comer

Hmmm, this has had no votes and I can’t actually remember what I was struggling to find when I opened it. So I think I withdraw my request.

I think the example you give demonstrates why that approach is discouraged in the documentation. If you do not want to pass the labels to the plotting methods, another option...

Perhaps I missed the point above. Where the docs say "the relation between plot elements and labels is only implicit by their order", that could be taken to mean that...

> > I’m tempted to deprecate labels-only completely. > > It's really helpful if you're using something like pandas and want to customize the labels, where you really might not...

For anyone outside the Met Office who is interested, I also have the `coord_diffs` function as a [gist](https://gist.github.com/rcomer/443dc06dbef2d804ebf703b44aba5bc5). I'm afraid it has no tests.

Great to know that you have tested and it fixes the flexitext case! I was not expecting that you’d still see the warning. What backend are you using?

Oh yikes! I confirm I have reproduced that with both TkAgg and QtAgg. I can't reproduce it with the simpler example from https://github.com/matplotlib/matplotlib/issues/24453 though. So may be something specific to...

It might be worth opening a new issue on Matplotlib about this one. It seems to be specific to using `plt.show` after `savefig`. If there is no call to `savefig`,...

Unfortunately it turned out that there are still problems with the basic case, see https://github.com/matplotlib/matplotlib/pull/26184#issuecomment-1614154687.

@jfrost-mo if you are using conda, I think it is already covered thanks to @djhoese https://github.com/conda-forge/cartopy-feedstock/pull/157