[draw] fix arg naming

This commit is contained in:
Jan Petykiewicz 2025-09-22 20:32:01 -07:00
parent 64752873fb
commit f4818fd554

View File

@ -165,7 +165,7 @@ class GridReadMixin(GridPosMixin):
which_shifts: Which grid to display. Default is the first grid (0).
sample_period: Period for down-sampling the image. Default 1 (disabled)
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)
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.
@ -181,8 +181,8 @@ class GridReadMixin(GridPosMixin):
if isinstance(plane, dict):
plane = Plane(**plane)
if pcolormesh_args is None:
pcolormesh_args = dict(alpha=0.8, colors='gray')
if contour_args is None:
contour_args = dict(alpha=0.8, colors='gray')
grid_slice = self.get_slice(
cell_data = cell_data,