Skip to content

Commit c06c127

Browse files
committed
[FIX] Fixed bug from previous commit
1 parent ebe6d24 commit c06c127

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

netneurotools/plotting.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -800,10 +800,9 @@ def plot_point_brain(data, coords, views=None, custom_aspect=True, cbar=False,
800800

801801
# if aspect is custom, manually set limits to the values we want
802802
if custom_aspect:
803-
if view != (0, 90):
804-
ax.set(xlim=0.665 * np.array(ax.get_xlim()),
805-
ylim=0.665 * np.array(ax.get_ylim()),
806-
zlim=0.70 * np.array(ax.get_zlim()))
803+
ax.set(xlim=0.665 * np.array(ax.get_xlim()),
804+
ylim=0.665 * np.array(ax.get_ylim()),
805+
zlim=0.70 * np.array(ax.get_zlim()))
807806

808807
# otherwise, automatically scale axes to have 'equal' aspect ratios
809808
else:

0 commit comments

Comments
 (0)