MantisBT - ParaView
View Issue Details
0014861ParaView(No Category)public2014-07-14 06:572016-08-12 09:59
Vadim SANDLER 
Kitware Robot 
normalminorhave not tried
closedmoved 
4.1 
 
ParaViS
incorrect functionality
0014861: Color legend incorrect if empty title given from the python
Execute attached script test_color_legend.py (attached in the script+data.tar.gz) several times in the Python Shell.(Before executing correct the path to the deplacements_et_contraintes.0001.vtu file if need). As shown on attached screen-shots, we randomly get a blue color legend at the bottom of the viewer, or a color legend without the Component, or a color legend whose Component is displayed under the color legend.

In the attached script replace
color_legend_title = ""
by the
color_legend_title = " "
and execute the script several times. The display is correct.

It should be able to create a color legend with the empty title from python, as it is possible from the GUI.
No tags attached.
gz script+data.tar.gz (1,743) 2014-07-14 06:58
https://www.vtk.org/Bug/file/9677/script%2Bdata.tar.gz
png py_color_legend.png (80,237) 2014-07-14 06:58
https://www.vtk.org/Bug/file/9678/py_color_legend.png
png

png py_color_legend1.png (81,379) 2014-07-14 06:58
https://www.vtk.org/Bug/file/9679/py_color_legend1.png
png
Issue History
2014-07-14 06:57Vadim SANDLERNew Issue
2014-07-14 06:58Vadim SANDLERFile Added: script+data.tar.gz
2014-07-14 06:58Vadim SANDLERFile Added: py_color_legend.png
2014-07-14 06:58Vadim SANDLERFile Added: py_color_legend1.png
2016-08-12 09:59Kitware RobotNote Added: 0038598
2016-08-12 09:59Kitware RobotStatusbacklog => closed
2016-08-12 09:59Kitware RobotResolutionopen => moved
2016-08-12 09:59Kitware RobotAssigned To => Kitware Robot

Notes
(0038598)
Kitware Robot   
2016-08-12 09:59   
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.