diff --git a/gridlock/read.py b/gridlock/read.py index 44f1c8a..7b4de1e 100644 --- a/gridlock/read.py +++ b/gridlock/read.py @@ -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,