Compare commits
2 commits
68520b8710
...
16a76e0122
| Author | SHA1 | Date | |
|---|---|---|---|
| 16a76e0122 | |||
| 7cac73bcb4 |
1 changed files with 4 additions and 1 deletions
|
|
@ -182,7 +182,7 @@ class GridReadMixin(GridPosMixin):
|
||||||
plane = Plane(**plane)
|
plane = Plane(**plane)
|
||||||
|
|
||||||
if pcolormesh_args is None:
|
if pcolormesh_args is None:
|
||||||
pcolormesh_args = {}
|
pcolormesh_args = dict(alpha=0.8, colors='gray')
|
||||||
|
|
||||||
grid_slice = self.get_slice(
|
grid_slice = self.get_slice(
|
||||||
cell_data = cell_data,
|
cell_data = cell_data,
|
||||||
|
|
@ -212,6 +212,9 @@ class GridReadMixin(GridPosMixin):
|
||||||
|
|
||||||
mappable = ax.contour(xcmesh, ycmesh, grid_slice, levels=levels, **contour_args)
|
mappable = ax.contour(xcmesh, ycmesh, grid_slice, levels=levels, **contour_args)
|
||||||
|
|
||||||
|
if finalize:
|
||||||
|
pyplot.show()
|
||||||
|
|
||||||
return fig, ax
|
return fig, ax
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue