Skip to content

Commit def3cb0

Browse files
committed
This should fix this error gi.repository.GLib.GError: gdk-pixbuf-error-quark: Couldn’t recognize the image file format for file '../../lib/python3.11/site-packages/matplotlib/mpl-data/images/matplotlib.svg'
1 parent 5c97323 commit def3cb0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

marlpde/Evolve_scenario.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
from dataclasses import asdict
66
import inspect
77
import matplotlib.pyplot as plt
8+
import matplotlib
9+
matplotlib.use("TkAgg")
810
import h5py
911
from pde import CartesianGrid, ScalarField, FileStorage, LivePlotTracker
1012
from pde import DataTracker

0 commit comments

Comments
 (0)