View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0009558ParaViewBugpublic2009-09-17 11:212016-08-12 09:57
ReporterKen Moreland 
Assigned ToKitware Robot 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0009558: When selecting a field to color by in Python, should default to same color map as GUI
DescriptionConsider the following Python script typed in the Python shell of the GUI.

Sphere()
Elevation()
rep = GetRepresentation()
rep.ColorArrayName = 'Elevation'
Show()
Render()

Now take a look at the color map in the GUI. It should be taking the default color map in the ParaView settings. Instead, it is taking whatever the default is defined in VTK. It is a crummy default and is scaled wrong. You cannot access the color map being used, you have to create a new one. The color map is not shown properly if you open the Color Scale Editor.

When you set an array to color by, a new lookup table that is accessible to the GUI should be created. It should default to whatever the user has as the default in the ParaView settings or to some application default if the settings are not available. The scale of the lookup table should also be set in the same way it is set in the GUI.
TagsNo tags attached.
Project
Topic Name
Type
Attached Files

 Relationships
child of 0009557closedKitware Robot Setting lookup tables in Python scripts should mirror that in GUI 

  Notes
(0037712)
Kitware Robot (administrator)
2016-08-12 09:57

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current ParaView Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2009-09-17 11:21 Ken Moreland New Issue
2009-09-17 11:21 Ken Moreland Relationship added child of 0009557
2016-08-12 09:57 Kitware Robot Note Added: 0037712
2016-08-12 09:57 Kitware Robot Status expired => closed
2016-08-12 09:57 Kitware Robot Resolution open => moved
2016-08-12 09:57 Kitware Robot Assigned To => Kitware Robot


Copyright © 2000 - 2018 MantisBT Team