[draw] fix arg naming
This commit is contained in:
parent
64752873fb
commit
f4818fd554
@ -165,7 +165,7 @@ class GridReadMixin(GridPosMixin):
|
|||||||
which_shifts: Which grid to display. Default is the first grid (0).
|
which_shifts: Which grid to display. Default is the first grid (0).
|
||||||
sample_period: Period for down-sampling the image. Default 1 (disabled)
|
sample_period: Period for down-sampling the image. Default 1 (disabled)
|
||||||
finalize: Whether to call `pyplot.show()` after constructing the plot. Default `True`
|
finalize: Whether to call `pyplot.show()` after constructing the plot. Default `True`
|
||||||
pcolormesh_args: Args passed through to matplotlib `pcolormesh()`
|
contour_args: Args passed through to matplotlib `pcolormesh()`
|
||||||
ax: If provided, plot to these axes (instead of creating a new figure & axes)
|
ax: If provided, plot to these axes (instead of creating a new figure & axes)
|
||||||
level_fraction: Value between 0 and 1 which tunes how many contours are generated.
|
level_fraction: Value between 0 and 1 which tunes how many contours are generated.
|
||||||
1 indicates that every possible step should have its own contour.
|
1 indicates that every possible step should have its own contour.
|
||||||
@ -181,8 +181,8 @@ class GridReadMixin(GridPosMixin):
|
|||||||
if isinstance(plane, dict):
|
if isinstance(plane, dict):
|
||||||
plane = Plane(**plane)
|
plane = Plane(**plane)
|
||||||
|
|
||||||
if pcolormesh_args is None:
|
if contour_args is None:
|
||||||
pcolormesh_args = dict(alpha=0.8, colors='gray')
|
contour_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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user