Skip to content

Commit

Permalink
fixed undefined axes error
Browse files Browse the repository at this point in the history
  • Loading branch information
kip-hart committed May 14, 2020
1 parent ee6fa87 commit d4f8cf9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/microstructpy/meshing/polymesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -842,7 +842,7 @@ def plot_facets(self, index_by='seed', hide_interior=True, **kwargs):
plt.gca().set_xlim(xlim)
plt.gca().set_ylim(ylim)
plt.gca().set_zlim(zlim)
ax.set_aspect('equal')
plt.gca().set_aspect('equal')

# ----------------------------------------------------------------------- #
# Mesh Equality #
Expand Down
2 changes: 1 addition & 1 deletion src/microstructpy/meshing/trimesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -779,7 +779,7 @@ def plot(self, index_by='element', material=[], loc=0, **kwargs):
plt.gca().set_xlim(xlim)
plt.gca().set_ylim(ylim)
plt.gca().set_zlim(zlim)
ax.set_aspect('equal')
plt.gca().set_aspect('equal')


def facet_check(neighs, polymesh, phases):
Expand Down
2 changes: 1 addition & 1 deletion src/microstructpy/seeding/seedlist.py
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ def plot(self, index_by='seed', material=[], loc=0, **kwargs):
plt.gca().set_xlim(xlim)
plt.gca().set_ylim(ylim)
plt.gca().set_zlim(zlim)
ax.set_aspect('equal')
plt.gca().set_aspect('equal')

def plot_breakdown(self, index_by='seed', material=[], loc=0, **kwargs):
"""Plot the breakdowns of the seeds in seed list.
Expand Down

0 comments on commit d4f8cf9

Please sign in to comment.