Skip to content

Commit 10c4601

Browse files
committed
Allow the user to change the colormap using the name.
1 parent dfb41ee commit 10c4601

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

visualpic/visualization/vtk_visualizer.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1205,6 +1205,7 @@ def get_colormap(self):
12051205

12061206
def set_colormap(self, cmap):
12071207
self.cmap = cmap
1208+
cmap = self.get_colormap()
12081209
self._set_vtk_colormap(cmap)
12091210

12101211
def get_optimized_opacity(self, time_step, bins=11,

0 commit comments

Comments
 (0)