org-arl / arlpy

ARL Python Tools
BSD 3-Clause "New" or "Revised" License
119 stars 37 forks source link

Axis label and tick label size to be passed as parameters to plot.image #32

Open harivnkochi opened 4 years ago

harivnkochi commented 4 years ago

It would be great if we could have control over the font size of the axis labels (x, y, color) and tick labels for 2D images plotted by plot.image by passing them as parameters.

Currently the function is arlpy.plot.image(img, x=None, y=None, colormap='Plasma256', clim=None, clabel=None, title=None, xlabel=None, ylabel=None, xlim=None, ylim=None, xtype='auto', ytype='auto', width=None, height=None, hold=False, interactive=None)

mchitre commented 4 years ago

This requires Bokeh support, and should be done at a theme level, rather than a plot level. Bokeh seems to have some support for it, see discussion. To be investigated further.