Re: [Matplotlib-users] Confused about rgb_to_hsv and hsv_to_rgb

2015-05-23 Thread Eric Firing
On 2015/05/22 9:33 AM, Matteo Niccoli wrote: The second method suggested by titusjan replaces value in hsv space with intensity as suggested. Eric you will notce I did include the line img_array = plt.get_cmap('cubehelix')(data_n) and yet the colormapping is not working. I don't understand

Re: [Matplotlib-users] Confused about rgb_to_hsv and hsv_to_rgb

2015-05-23 Thread Jody Klymak
On May 23, 2015, at 12:07 PM, Eric Firing efir...@hawaii.edu wrote: You might get something more to your liking if you were to start with a colormap in which V is uniform--all variation is in H and S--and then impose the shading on the V. Cubehelix starts with a full range of V, so

[Matplotlib-users] Potential issue with cubehelix colormap implementation in Matbplotlib?

2015-05-23 Thread Matteo Niccoli
This stems from a previous discussion I started, please see thread below. With reference to this notebook: http://nbviewer.ipython.org/urls/dl.dropbox.com/s/2pfhla9rn66lsbv/surface_shading.ipynb/%3Fdl%3D0 I originally thought there was an issue with the implementation of the blending of RGB and