Closed edwinsupple closed 2 days ago
Thank you Edwin!
On Thu, Sep 5, 2024 at 4:29 PM Edwin Supple @.***> wrote:
Closed #672 https://github.com/py4dstem/py4DSTEM/issues/672 as completed.
— Reply to this email directly, view it on GitHub https://github.com/py4dstem/py4DSTEM/issues/672#event-14152682928, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQYYNJ6QHEE63DJ4S6LNZLZVC5L7AVCNFSM6AAAAABKZSVIE6VHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJUGE2TENRYGI4TEOA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Describe the bug when using
py4DSTEM.visualize.show
, a dictionary passed toscalebar
is ignored if the plotted image has a calibration parameter (e.g. virtual bright field images)To Reproduce
Expected behavior Would expect the default scalebar parameters to take effect, except for any that are passed to the function in the scalebar dictionary.
py4DSTEM version 0.14.15
Python version 3.10.4 Operating system Windows
Screenshots If applicable, could you add screenshots to help explain your problem? current functionality, showing parameter passed to![scalebar_functionality-old](https://github.com/user-attachments/assets/b64ea1f7-c2bd-403b-9991-b736ab48bcd4)
scalebar
as axis title:expected behavior:![scalebar_functionality-new](https://github.com/user-attachments/assets/11b278b2-385d-4ffd-a310-dfb02d14efba)