Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • ParaView ParaView
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,841
    • Issues 1,841
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 88
    • Merge requests 88
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ParaView
  • ParaViewParaView
  • Issues
  • #14861
Closed
Open
Created Jul 13, 2014 by Kitware Robot@kwrobotOwner

Color legend incorrect if empty title given from the python

This issue was created automatically from an original Mantis Issue. Further discussion may take place here.


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.

Edited Mar 23, 2021 by Mathieu Westphal
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking