iris icon indicating copy to clipboard operation
iris copied to clipboard

Resolve runtime warning: invalid value encountered in sqrt.

Open ESadek-MO opened this issue 2 years ago • 1 comments

📰 Custom Issue

Written up from #5465.

lib/iris/tests/test_plot.py::Test2dPoints::test_circular_changes
  /home/h05/achamber/.conda/envs/iris-dev/lib/python3.11/site-packages/matplotlib/collections.py:963: RuntimeWarning: invalid value encountered in sqrt
    scale = np.sqrt(self._sizes) * dpi / 72.0 * self._factor

ESadek-MO avatar Oct 05 '23 09:10 ESadek-MO