Troubleshooting

Matplotlib figure automatically closing immediately after being produced

In Windows, for some users, plots produced with Matplotlib will automatically close immediately after being produced when displayed after PyVista plots. This is a known issue that has been reported to PyVista developers (see this PyVista issue on GitHub). Until this issue is resolved, a work-around is to always display plots using Matplotlib first, and then display 3D plots with PyVista.