You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When passing a list of images to py4DSTEM.show, the figsize argument is ignored.
To Reproduce
importpy4DSTEMimportnumpyasnparr=np.random.rand(128,128)
py4DSTEM.show(arr, figsize=(2,2)) # <-- works# py4DSTEM.show(arr, figsize=(2, np.nan)) # <-- raises error (as expected)py4DSTEM.show([arr,arr], figsize=(2,2)) # <-- figsize is not changedpy4DSTEM.show([arr,arr], figsize=(2,np.nan)) # <-- does not raise an error
Expected behavior figsize should control the size of the figure.
Additional context
For grid plots, the undocumented keyword argument axsize controls the size of each axis in the figure. At a minimum this should be documented, and ideally there should also be a way to get the overall size of the figure.
The text was updated successfully, but these errors were encountered:
Describe the bug
When passing a list of images to
py4DSTEM.show
, thefigsize
argument is ignored.To Reproduce
Expected behavior
figsize
should control the size of the figure.Additional context
For grid plots, the undocumented keyword argument
axsize
controls the size of each axis in the figure. At a minimum this should be documented, and ideally there should also be a way to get the overall size of the figure.The text was updated successfully, but these errors were encountered: