Skip to content

Commit 8532cc1

Browse files
authored
Merge pull request #68 from rmarkello/fix/plotting
[FIX] Set aspect on 3D plot no longer valid
2 parents 18d6014 + 37ffb9a commit 8532cc1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

netneurotools/plotting.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -553,8 +553,7 @@ def plot_point_brain(data, coords, views=None, cbar=False, figsize=(5, 5),
553553
ax.axis('off')
554554
ax.set(xlim=0.57 * np.array(ax.get_xlim()),
555555
ylim=0.57 * np.array(ax.get_ylim()),
556-
zlim=0.60 * np.array(ax.get_zlim()),
557-
aspect=0.55 if view != (0, 90) else 0.7)
556+
zlim=0.60 * np.array(ax.get_zlim()))
558557
fig.subplots_adjust(left=0, right=1, bottom=0, top=1)
559558

560559
# add colorbar to axes

0 commit comments

Comments
 (0)