Skip to content

Commit ca3c855

Browse files
committed
Merge branch 'fix/remove_matplotlib_dependency'
2 parents 241324c + 0309791 commit ca3c855

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xcoll/plot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55

66
import numpy as np
77
from numbers import Number
8-
import matplotlib.pyplot as plt
98

109

1110
_NORMS = ["total", "coll_max", "max", "none", "raw"]
1211

1312

1413
def _plot_lossmap_base(lossmap: dict, *, norm="total", ax=None, xlim=None, ylim=None,
1514
legend=True, grid=True, energy=False, show=True, savefig=None):
15+
import matplotlib.pyplot as plt
1616
if norm in _NORMS:
1717
norm = norm.lower()
1818
elif not isinstance(norm, Number):

0 commit comments

Comments
 (0)