Skip to content

Commit 4fbfb3a

Browse files
authored
Merge pull request CERN#723 from dzenanz/fixPlotGeometry
Fix plot_geometry error, fix CERN#624
2 parents e01c087 + fe6bc5d commit 4fbfb3a

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

Python/tigre/utilities/visualization/plot_geometry.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
import matplotlib.patches
22
import numpy as np
33
import tigre
4-
from mpl_toolkits.mplot3d import art3d
4+
import mpl_toolkits.mplot3d.art3d as art3d
5+
6+
if not hasattr(art3d.PathPatch3D, "_axlim_clip"):
7+
art3d.PathPatch3D._axlim_clip = False
58

69
# https://matplotlib.org/mpl_toolkits/mplot3d/tutorial.html
710

0 commit comments

Comments
 (0)