Title Colorbar

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Title Colorbar

Barth
Hello,

I am working a lot chaco's colormap plot. I have an horizontal container containing, on the left, the plot, and on the right the colorbar.

self._plot = Plot(self._plotdata, hiding=False, auto_hide=False)
container = HPlotContainer(use_backbuffer = True)
container.add(self._plot)
self.container = container

self._colorbar = ColorBar(index_mapper=index_mapper,
                                  color_mapper=cmap,
                                  orientation='v',
                                  resizable='v',
                                  width=30,
                                  padding=30)
self.container.add(self._colorbar)

I use the title of the plot as well as the title of the x and y axis. But i would like also to indicate where the plot values come from, by setting a title on the colorbar. Is it possible ?
If not, is it possible to add a text (formated or not), placed vertically next to the colorbar ? 

Bests,

Pierre

_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev