Upstream cfplot bugs still existing that need addressing
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- python
- Domain
- data-visualization
Research direction
Start with the contouring routine and reproduce the standard Mercator plot using default options to isolate the NaN or Inf axis limits error. Compare the title failure with upstream cf-plot issue 122 and determine whether the argument combinations are valid. Done means the reported title and default Mercator plotting failures are resolved and covered by appropriate checks.
Written by the indexing model from the issue text.
Description
-
There is a hack in the contouring routine to deal with plot titles failing on several plots, this is upstream.
-
There is a problem with standard mercator plots if you choose the default options and go straight to plotting, it crashes with:
self.set_xlim([x1, x2])
2026-03-20 08:30:28,617 INFO xconv2.main_window: Worker stderr: File "/Users/bnl28/miniforge3/envs/work26/lib/python3.12/site-packages/matplotlib/axes/_base.py", line 3828, in set_xlim
2026-03-20 08:30:28,617 INFO xconv2.main_window: Worker stderr: return self.xaxis._set_lim(left, right, emit=emit, auto=auto)
2026-03-20 08:30:28,617 INFO xconv2.main_window: Worker stderr: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-03-20 08:30:28,617 INFO xconv2.main_window: Worker stderr: File "/Users/bnl28/miniforge3/envs/work26/lib/python3.12/site-packages/matplotlib/axis.py", line 1216, in _set_lim
2026-03-20 08:30:28,617 INFO xconv2.main_window: Worker stderr: v0 = self.axes._validate_converted_limits(v0, self.convert_units)
2026-03-20 08:30:28,617 INFO xconv2.main_window: Worker stderr: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-03-20 08:30:28,617 INFO xconv2.main_window: Worker stderr: File "/Users/bnl28/miniforge3/envs/work26/lib/python3.12/site-packages/matplotlib/axes/_base.py", line 3749, in _validate_converted_limits
2026-03-20 08:30:28,617 INFO xconv2.main_window: Worker stderr: raise ValueError("Axis limits cannot be NaN or Inf")
2026-03-20 08:30:28,617 INFO xconv2.main_window: Worker stderr: ValueError: Axis limits cannot be NaN or Inf
these may be related to calling the plotting routines with inappropriate arguments, or they might be upstream. This is probably best fixed with a complete refactor of the contouring routines upstream so that argument combinations are clear.
- Dominant language
- Python
- Stars
- 6
- Forks
- 1
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 8
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from NCAS-CMS/xconv2
-
Commands like `--help` and `--version` still open xconv2 consoleMay be free again @bnlawrence claimed this 28 days ago, and no pull request is open. Openenhancement
-
Need to be able to interupt movie building before the movie is finishedMay be free again @bnlawrence claimed this 34 days ago, and no pull request is open. Openbug
-
we need to be able to terminate ssh sessions properly and restart them.May be free again @bnlawrence claimed this 34 days ago, and no pull request is open. Openenhancement
-
plotting data which intersects with the groundMay be free again @bnlawrence claimed this 39 days ago, and no pull request is open. Openenhancement
-
installation
Difficulty 2/5 Under an hour Newbie friendliness 15/100
Similar issues
-
eegprep-lean: set channel types from the Zarr group's channel_typePossibly taken @claude claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
sccn/eegprep#668 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
blacklanternsecurity/bbot#3679 ·
Maintainers usually reply within 2 days
-
Link Checker ReportOpenBot Type: Bug Type: Documentation
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
speakeasy-api/speakeasy#2159 ·
Maintainers usually reply within 1 day