Text of discourse.matplotlib.org › t › mplot3d-interactive-shading › 17689 as Styx crawled it on Nov 20, 2026. The page may have changed since. Only its words are kept, without pictures or layout.

Open the live page

mplot3d interactive shading - matplotlib-users - Matplotlib

mplot3d interactive shading Community matplotlib-users Thomas_Sprinzing January 21, 2013, 12:42pm 1 Hi folks! maybe you can point me in the right direction: I have a list of colour measurements in Lab-Space(stored in an h5 table). Now, 3d-scatterplotting them was easy, also, assigning the corresponding rgb colour value to the spots is relatively easy. For the plot i use: p=ax.scatter3D(table.cols.Lab_a[:],table.cols.Lab_b[:],table.cols.Lab_L[:],c=cols) Now, the annoying part: when i move around the figure with the mouse, the points in the background get "dimmed" or shaded down to less saturation.

Now in my case, i want to turn this behaviour off, since i want the points to be the colour they represent, all the time. How do i do this? thanks for your help Thomas ## values in "table" from colormath.color_objects import LabColor cols=[] for row in table[:]: cols.append(LabColor(lab_l=row['Lab_L'],lab_a=row['Lab_a'],lab_b=row['Lab_b']).convert_to('rgb').get_rgb_hex()) from mpl_toolkits.mplot3d import Axes3D import matplotlib.pyplot as plt fig = plt.figure() ax = fig.add_subplot(111, projection='3d') ax.set_xlabel('a') ax.set_ylabel('b') ax.set_zlabel('L') ax.set_xlim(-100,100) ax.set_ylim(-100,100) ax.set_zlim(0,100) fig.show() Benjamin_Root January 21, 2013, 5:04pm 2 Unfortunately, there is no setting to turn this feature off.

However, I don’t see why it couldn’t be done. It would be great if you could file a feature request on our github page. Cheers! Ben Root ··· On Mon, Jan 21, 2013 at 7:42 AM, Thomas Sprinzing <sprinzing@…4267…> wrote: Hi folks! maybe you can point me in the right direction: I have a list of colour measurements in Lab-Space(stored in an h5 table). Now, 3d-scatterplotting them was easy, also, assigning the corresponding rgb colour value to the spots is relatively easy.

For the plot i use: p=ax.scatter3D(table.cols.Lab_a[:],table.cols.Lab_b[:],table.cols.Lab_L[:],c=cols) Now, the annoying part: when i move around the figure with the mouse, the points in the background get “dimmed” or shaded down to less saturation. Now in my case, i want to turn this behaviour off, since i want the points to be the colour they represent, all the time. How do i do this? thanks for your help Thomas Thomas_Sprinzing January 21, 2013, 5:24pm 3 done! cheers Thomas ··· Am 21.01.2013 um 18:04 schrieb Benjamin Root: Hi folks! maybe you can point me in the right direction: I have a list of colour measurements in Lab-Space(stored in an h5 table).

Now, 3d-scatterplotting them was easy, also, assigning the corresponding rgb colour value to the spots is relatively easy. For the plot i use: p=ax.scatter3D(table.cols.Lab_a[:],table.cols.Lab_b[:],table.cols.Lab_L[:],c=cols) Now, the annoying part: when i move around the figure with the mouse, the points in the background get "dimmed" or shaded down to less saturation. Now in my case, i want to turn this behaviour off, since i want the points to be the colour they represent, all the time.

How do i do this? thanks for your help Thomas Unfortunately, there is no setting to turn this feature off. However, I don't see why it couldn't be done. It would be great if you could file a feature request on our github page. Cheers! Ben Root