again pb with ticks in colorbar

Hello,

  i've a figure and a colorbar, but i can't put my ticks on the colorbar. The
colorbar is display without any values.

exemple of my code :
...
  plt.colorbar(c, orientation='horizontal', ticks=[int(valmin), int(valmax)])
...
  In my example, valmin can be 0.0 and valmax 243.0, but there's no display only
a beautiful colorbar !

  thank you.

···

######################################################################
Jean-Christophe Penalva
Centre Informatique National de l'Enseignement Superieur (CINES)
Montpellier, FRANCE
Tel : 33 4 67 141 414 Fax : 33 4 67 523 763
http://www.cines.fr/

Jean-Christophe Penalva wrote:

  Hello,

  i've a figure and a colorbar, but i can't put my ticks on the colorbar. The
colorbar is display without any values.

exemple of my code :
...
  plt.colorbar(c, orientation='horizontal', ticks=[int(valmin), int(valmax)])
...
  In my example, valmin can be 0.0 and valmax 243.0, but there's no display only
a beautiful colorbar !

I think you are having the same problem that was discussed in this thread:
http://www.mail-archive.com/matplotlib-users@lists.sourceforge.net/msg11799.html
with the key point being made here:
http://www.mail-archive.com/matplotlib-users@lists.sourceforge.net/msg11801.html

Eric

···

  thank you.

###################################################################### Jean-Christophe Penalva Centre Informatique National de l'Enseignement Superieur (CINES) Montpellier, FRANCE
Tel : 33 4 67 141 414 Fax : 33 4 67 523 763
http://www.cines.fr/

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users