Skip to content

Commit

Permalink
major update
Browse files Browse the repository at this point in the history
  • Loading branch information
joleroi committed May 12, 2016
1 parent 937196e commit 8e37398
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion regions/core/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,8 @@ def plot(self, ax=None, **kwargs):
"""
import matplotlib.pyplot as plt

ax = plt.gca() if ax is None else ax
if ax is None:
ax = plt.gca()

patch = self.as_patch(**kwargs)
ax.add_patch(patch)
Expand Down

0 comments on commit 8e37398

Please sign in to comment.