Skip to content

Commit

Permalink
scale -> scale_factor in gallery example
Browse files Browse the repository at this point in the history
Co-authored-by: Grzegorz Bokota <[email protected]>
  • Loading branch information
jni and Czaki authored Jul 5, 2024
1 parent 25596a8 commit 9b1a230
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/export_figure.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
viewer.theme = "light"
# Optionally for saving the exported figure: viewer.export_figure(path="export_figure.png")
export_figure = viewer.export_figure()
scaled_export_figure = viewer.export_figure(scale=5)
scaled_export_figure = viewer.export_figure(scale_factor=5)
viewer.theme = "dark"

viewer.add_image(export_figure, rgb=True, name='exported_figure')
Expand Down

0 comments on commit 9b1a230

Please sign in to comment.