Skip to content

Commit

Permalink
[vis] Fix type hint for plot()
Browse files Browse the repository at this point in the history
  • Loading branch information
holl- committed Apr 20, 2023
1 parent 36cca9f commit 759dea5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phi/vis/_vis.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ def get_current_figure():
return LAST_FIGURE[0]


def plot(*fields: Union[SampledField, Tensor],
def plot(*fields: Union[SampledField, Tensor, Geometry],
lib: Union[str, PlottingLibrary] = None,
row_dims: DimFilter = None,
col_dims: DimFilter = batch,
Expand Down

0 comments on commit 759dea5

Please sign in to comment.