x y scale bar · Issue #30 · ppinard/matplotlib-scalebar (original) (raw)

@k1moradi

Hi,

I was wondering is it possible to add two scale bars: one for the x-axis and another one for the y-axis. The x-axis of my plot is in milliseconds and the y-axis in pico ampers.

I have generated the following plot but, I want the unit of the plot being "ms" which the program does not allow. I also want to add another scalebar for the y-axis, so that I can hide the axis.

scalebar = ScaleBar(1, label='ms', location='lower right')
plt.gca().add_artist(scalebar)

image