Skip to content
Snippets Groups Projects
Commit 6647bc7a authored by Joseph Weston's avatar Joseph Weston
Browse files

remove dubious resize of transformations when plotting in 3D

Previously, when plotting a 3D system with 'site_size' provided
explicity as a sequence, a ValueError would be raised when using
'%matplotlib inline' or '%matplotlib notebook' from a Jupyter
notebook. We do not add a test for this, because that would require
depending on Jupyter.

Closes #39.
parent bda8f015
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -311,8 +311,6 @@ if mpl_enabled:
self.set_paths(paths[indx])
if len(self.orig_transforms) > 1:
self.transforms = np.resize(self.orig_transforms,
(vs.shape[1],))
self.transforms = self.transforms[indx]
lw_orig = self.linewidths_orig
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment