Skip to content
New issue

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

Example/tutorials warn due to new pcolormesh shading #16493

Closed
QuLogic opened this issue Feb 13, 2020 · 5 comments · Fixed by #16503 or #16504
Closed

Example/tutorials warn due to new pcolormesh shading #16493

QuLogic opened this issue Feb 13, 2020 · 5 comments · Fixed by #16503 or #16504
Milestone

Comments

@QuLogic
Copy link
Member

QuLogic commented Feb 13, 2020

The new warning introduced in #16258 is now being triggered by several examples, and the tutorials. At least for the latter, I assume we don't want to go through and just do a blanket Z[:-1, :-1], but instead take a more nuanced approach. Though possibly not; I have not looked at the issues yet, but I don't want to forget about this.

@QuLogic QuLogic added this to the v3.3.0 milestone Feb 13, 2020
@jklymak
Copy link
Member

jklymak commented Feb 13, 2020

We probably want to change to shading='auto' for these.

@jklymak
Copy link
Member

jklymak commented Feb 13, 2020

Did you track which ones have the warning?

@jklymak
Copy link
Member

jklymak commented Feb 13, 2020

I found one. Are there more?

@jklymak
Copy link
Member

jklymak commented Feb 13, 2020

Re-opening in case there are more...

@QuLogic
Copy link
Member Author

QuLogic commented Feb 13, 2020

Here is the list:

  • /matplotlib/examples/userdemo/colormap_normalizations_bounds.py:38
  • /matplotlib/examples/userdemo/colormap_normalizations_bounds.py:41
  • /matplotlib/examples/userdemo/colormap_normalizations_custom.py:44
  • /matplotlib/examples/userdemo/colormap_normalizations_custom.py:47
  • /matplotlib/examples/userdemo/colormap_normalizations_diverging.py:39
  • /matplotlib/examples/userdemo/colormap_normalizations_lognorm.py:29
  • /matplotlib/examples/userdemo/colormap_normalizations_lognorm.py:32
  • /matplotlib/examples/userdemo/colormap_normalizations_power.py:26
  • /matplotlib/examples/userdemo/colormap_normalizations_power.py:29
  • /matplotlib/examples/userdemo/colormap_normalizations_symlognorm.py:33
  • /matplotlib/examples/userdemo/colormap_normalizations_symlognorm.py:36
  • /matplotlib/tutorials/colors/colormapnorms.py:65
  • /matplotlib/tutorials/colors/colormapnorms.py:68
  • /matplotlib/tutorials/colors/colormapnorms.py:102
  • /matplotlib/tutorials/colors/colormapnorms.py:105
  • /matplotlib/tutorials/colors/colormapnorms.py:134
  • /matplotlib/tutorials/colors/colormapnorms.py:137
  • /matplotlib/tutorials/colors/colormapnorms.py:176
  • /matplotlib/tutorials/colors/colormapnorms.py:182
  • /matplotlib/tutorials/colors/colormapnorms.py:185
  • /matplotlib/tutorials/colors/colormapnorms.py:221
  • /matplotlib/tutorials/colors/colormapnorms.py:252
  • matplotlib/examples/images_contours_and_fields/pcolormesh_grids.py:66
  • matplotlib/examples/images_contours_and_fields/pcolormesh_levels.py:67
  • matplotlib/examples/specialty_plots/leftventricle_bulleye.py:82
  • matplotlib/examples/specialty_plots/leftventricle_bulleye.py:96
  • matplotlib/examples/specialty_plots/leftventricle_bulleye.py:110
  • matplotlib/examples/specialty_plots/leftventricle_bulleye.py:122
  • matplotlib/examples/subplots_axes_and_figures/axes_margins.py:65
  • matplotlib/examples/userdemo/colormap_normalizations.py:32
  • matplotlib/examples/userdemo/colormap_normalizations.py:35
  • matplotlib/examples/userdemo/colormap_normalizations.py:49
  • matplotlib/examples/userdemo/colormap_normalizations.py:52
  • matplotlib/examples/userdemo/colormap_normalizations.py:73
  • matplotlib/examples/userdemo/colormap_normalizations.py:76
  • matplotlib/examples/userdemo/colormap_normalizations.py:111
  • matplotlib/examples/userdemo/colormap_normalizations.py:114
  • matplotlib/examples/userdemo/colormap_normalizations.py:129
  • matplotlib/examples/userdemo/colormap_normalizations.py:135
  • matplotlib/examples/userdemo/colormap_normalizations.py:138
  • matplotlib/examples/userdemo/colormap_normalizations_bounds.py:32

I believe you fixed:

  • matplotlib/examples/images_contours_and_fields/pcolor_demo.py:100
  • matplotlib/examples/images_contours_and_fields/pcolor_demo.py:103

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants