We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c42ff5 commit 8ea0fc7Copy full SHA for 8ea0fc7
src/stagpy/field.py
@@ -6,6 +6,7 @@
6
from itertools import chain
7
8
import matplotlib as mpl
9
+import matplotlib.colors as mpl_colors
10
import matplotlib.patches as mpat
11
import matplotlib.pyplot as plt
12
import numpy as np
@@ -246,7 +247,7 @@ def plot_scalar(
246
247
cmap=conf.field.cmap.get(var),
248
vmin=conf.plot.vmin,
249
vmax=conf.plot.vmax,
- norm=mpl.colors.LogNorm() if var == "eta" else None,
250
+ norm=mpl_colors.LogNorm() if var == "eta" else None,
251
rasterized=conf.plot.raster,
252
shading="flat",
253
)
0 commit comments