Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Gouraud shading with tripcolor renders incorrectly as SVG in Jupyter notebook #11321

Copy link
Copy link
Open
@CorbinFoucart

Description

@CorbinFoucart
Issue body actions

Bug report

Bug summary

When the matplotlib backend is set to 'SVG' in a Jupyter Notebook, it seems that matplotlib does not render 'gouraud' shading correctly.

Code for reproduction

I've uploaded a minimal example of my problem here:
https://nbviewer.jupyter.org/github/CorbinFoucart/FEMexperiment/blob/master/app/mpl_bug.ipynb

Actual outcome

Note the 'gouraud' shading with SVG in the notebook. If I save the output to file and view the output, it is similarly not shaded, which indicates to me that this is not a Jupyter issue, nor a browser issue.

Matplotlib version

  • Operating system: OSX El Capitan 10.11.6
  • Matplotlib version: 2.2.2
  • Matplotlib backend (print(matplotlib.get_backend())): module://ipykernel.pylab.backend_inline
  • Python version: 3.6.4
  • Jupyter version:
ipykernel==4.8.2
jupyter==1.0.0
jupyter-client==5.2.3
jupyter-console==5.2.0
jupyter-core==4.4.0

I installed matplotlib in a virtual environment with pip.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.