We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug summary
Matplotlib has seen a lot of internal changes for colorbars between 3.4 and 3.5, some of which have minor yet noticeable consequences for yt
This is seen in daily jobs on Jenkins (latest_deps) since we allowed pre-releases to install for instance the test yt.geometry.coordinates.tests.test_cylindrical_coordinates.GenericImage_AMRGridData_all_create_image_None_None (see here https://tests.yt-project.org/job/yt_py38_latest_deps/389/testReport/junit/yt.geometry.coordinates.tests/test_cylindrical_coordinates/GenericImage_AMRGridData_all_create_image_None_None/)
yt.geometry.coordinates.tests.test_cylindrical_coordinates.GenericImage_AMRGridData_all_create_image_None_None
Code for reproduction
Actual outcome
Expected outcome
Version Information
This bug is akin to the one I solved for symlog norms already #3536 (comment)
The text was updated successfully, but these errors were encountered:
Here's a self-contained example to reproduce the issue
import yt import matplotlib ds = yt.testing.fake_amr_ds(fields=[("gas", "density")], units=["g/cm**3"], geometry="polar") yt.testing.add_noise_fields(ds) p = yt.SlicePlot(ds, "z", "noise2") p.save(f"/tmp/cb_mpl_v{matplotlib.__version__}.png")
outputs
Sorry, something went wrong.
note that the case vmin < 0 and vmax > 0 works as intended, as can be shown using the noise3 field:
vmin < 0 and vmax > 0
noise3
import yt import matplotlib ds = yt.testing.fake_amr_ds(fields=[("gas", "density")], units=["g/cm**3"], geometry="polar") yt.testing.add_noise_fields(ds) p = yt.SlicePlot(ds, "z", "noise3") p.save(f"/tmp/cb_mpl_v{matplotlib.__version__}.png")
Successfully merging a pull request may close this issue.
Bug report
Bug summary
Matplotlib has seen a lot of internal changes for colorbars between 3.4 and 3.5, some of which have minor yet noticeable consequences for yt
This is seen in daily jobs on Jenkins (latest_deps) since we allowed pre-releases to install
for instance the test
yt.geometry.coordinates.tests.test_cylindrical_coordinates.GenericImage_AMRGridData_all_create_image_None_None
(see here https://tests.yt-project.org/job/yt_py38_latest_deps/389/testReport/junit/yt.geometry.coordinates.tests/test_cylindrical_coordinates/GenericImage_AMRGridData_all_create_image_None_None/)
Code for reproduction
Actual outcome
Expected outcome
![tmphtg06g_w](https://user-images.githubusercontent.com/14075922/136946793-d353ca53-d19e-4a60-a9a4-dbc4eac71bce.png)
Version Information
This bug is akin to the one I solved for symlog norms already #3536 (comment)
The text was updated successfully, but these errors were encountered: