Re fresh colorbar in 3D graph animation

Hello
I have an animation which shows 3D diffusion
I added color bar at the side
during the animation the colors changing but the scale at the colorbar of
the graph stay asame.
please help with that soon as you can!
Thanks!
Gal:working:

···

--
View this message in context: http://old.nabble.com/Refresh-colorbar-in-3D-graph-animation-tp32356118p32356118.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

This entirely depends on how you create your colorbar and how you update your graphs. Generally, colorbars that are created use (implicitly or explicitly) a ScalarMappable such as a ContourSet (from contour()) or AxesImage (from imshow()). If you then create new objects instead of modifying the existing objects, then the colorbar will still be referencing the original scalarmappable.

If you are still confuse, post a stand-alone example of what you have and we can help you out.

Ben Root

···

On Wed, Aug 31, 2011 at 5:34 AM, galorencom <galoren.com@…2015…87…> wrote:

Hello

I have an animation which shows 3D diffusion

I added color bar at the side

during the animation the colors changing but the scale at the colorbar of

the graph stay asame.

please help with that soon as you can!

Thanks!

Gal:working: