Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def plot(
- self,
- show_this=True,
- show_that=True,
- color='k',
- boundary_color=None,
- other_color=[0.8, 0.8, 0.8],
- show_axes=True
- ):
- # lots of code
- return
- def show(
- self,
- show_this=True,
- show_that=True,
- color='k',
- boundary_color=None,
- other_color=[0.8, 0.8, 0.8],
- show_axes=True
- ):
- from matplotlib import pyplot as plt
- self.plot(
- show_this=show_this,
- show_that=show_that,
- color=color,
- boundary_color=boundary_color,
- other_color=other_color,
- show_axes=show_axes
- )
- plt.show()
- return
- def show(self, *args, **kwargs):
- from matplotlib import pyplot as plt
- self.plot(*args, **kwargs)
- plt.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement