the following code, takes around .5sec just to draw the colorbar. ``` import cdms2,sys,vcs x=vcs.init() f=cdms2.open(sys.prefix+"/sample_data/clt.nc") s=f("clt") x.plot(s) ``` The code to draw the colorbar should be rewritten in pure VTK. current code: https://github.com/UV-CDAT/uvcdat/blob/master/Packages/vcs/Lib/template.py#L1369 in the vtkbackend we call it at: https://github.com/UV-CDAT/uvcdat/blob/master/Packages/vcs/Lib/VTKPlots.py#L1127 I think we should update vtkScalarBarActor
the following code, takes around .5sec just to draw the colorbar.
The code to draw the colorbar should be rewritten in pure VTK.
current code:
https://github.com/UV-CDAT/uvcdat/blob/master/Packages/vcs/Lib/template.py#L1369
in the vtkbackend we call it at:
https://github.com/UV-CDAT/uvcdat/blob/master/Packages/vcs/Lib/VTKPlots.py#L1127
I think we should update
vtkScalarBarActor