matplotlib-scalebar
matplotlib-scalebar copied to clipboard
Provides a new artist for matplotlib to display a scale bar, aka micron bar.
Hi! I want to save my plot with the ScaleBar, here is my code: ```py fig, ax = plt.subplots() ax.axis("off") ax.imshow(my_slice3, cmap="gray") scalebar = ScaleBar(650, "nm", length_fraction=0.25, location= "lower right")...
It is sometimes useful to have a scalebar without scale or label, just the line. For example, if you already mention the scale in the figure caption. I have not...
Formalizes the changes suggested by altanir84 in https://github.com/ppinard/matplotlib-scalebar/issues/39 to add support for bbox_to_anchor Additionally implements get_window_extent
Is there a way to fine adjust the scalebar position? I need to place the scalebar at the lower right of a image, but there is a label that also...
Would it be possible to add an arrow head to the scalebar? Then it could be used with quiver plots.
Dear developers, I would like to thank you for the amazing package you have developed. I was wondering if it would be possible to enhance it in order to accomodate...
Hi, I am trying to add a scalebar using the sample scripts in geemap. But I am getting wrong results. The pixel size of the satellite imagery is 10m.The output...
Every time I import ScaleBar as here, `%matplotlib inline import matplotlib.pyplot as plt from matplotlib_scalebar.scalebar import ScaleBar` I get the following warning _C:\\Anaconda2\lib\site-packages\matplotlib\__init__.py:1357: UserWarning: This call to matplotlib.use() has no...
Implement get_window_extent