Ruth Comer

Results 454 comments of Ruth Comer

For reference, here is what we currently use for string coordinates in `aggregated_by`, which handles 2D coords but not bounded string coords. https://github.com/SciTools/iris/blob/95b7ffe5f75cd362fa71eb43644a18d6ae04eb06/lib/iris/analysis/__init__.py#L2437-L2460

Hmmm. I _think_ the relevant logic is in [_set_mappable_flags](https://github.com/matplotlib/matplotlib/blob/a254b687df97cda8c6affa37a1dfcf213f8e6c3a/lib/matplotlib/collections.py#L860). What happens if you pass `facecolor="none", array=array`?

What would be the desired behaviour here? It would be pretty easy to pass the _bbox_ parameter down to `Text` to just make a box around that, but a user...

In the meantime, if you do just want the box around the text, you can set it afterwards ```python import matplotlib.pyplot as plt fig = plt.figure(figsize=(12, 6)) axes = plt.axes()...

I think the work here is: 1. Add a `colorbar_kwargs` keyword to the [`_label` function](https://github.com/SciTools/iris/blob/3e1e80ecdb3784f25f4f2bc03bc8e0dbb0a1afa0/lib/iris/quickplot.py#L51), which is a dictionary of keywords to use in the [`colorbar` call](https://github.com/SciTools/iris/blob/3e1e80ecdb3784f25f4f2bc03bc8e0dbb0a1afa0/lib/iris/quickplot.py#L60-L62). If "orientation" or...

I think the work here is: 1. Add the boolean `colorbar` keyword to the [`_label` function](https://github.com/SciTools/iris/blob/3e1e80ecdb3784f25f4f2bc03bc8e0dbb0a1afa0/lib/iris/quickplot.py#L51), which controls whether the colorbar is added. 2. Do the "plumbing" to expose the...

Note that this came from discussion #5964, where the user had a whole dictionary of colorbar keywords they wanted to specify. Unfortunately `Colorbar` is one of few Matplotlib objects that...

[Xarray also handles grib](https://docs.xarray.dev/en/stable/examples/ERA5-GRIB-example.html). I think if one package is added then both should be.

Something on [this page](https://confluence.ecmwf.int/display/CKB/How+to+plot+GRIB+files+with+Python+and+matplotlib) might also be useful.