Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • VTK VTK
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 777
    • Issues 777
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 214
    • Merge requests 214
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VTK
  • VTKVTK
  • Merge requests
  • !7458

Multiline and multicolumn support of MatplotlibMathText

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Paul Lafoix requested to merge paul.lafoix/vtk:ColonneTextRepresentaton into master Dec 04, 2020
  • Overview 100
  • Commits 2
  • Pipelines 24
  • Changes 24

You can now render a multiline and multicolumn math text string.

A line is defined by a '\n', and a column by '|'

For example, the string str = "Cell1 | Cell2 | $\\sum_{i=0}^\\infty x_i$\n12 | $\\sum_{i=0}^\\infty x_i$ | 2345"; is converted into this image :

12_44_01-04_12

Also fix rendering of text when background is fully opaque (opacity = 1) : the text is now rendered on top of the background

Also include a commit that change the default vtkTextProperty::LineSpacing from 1.1 to 1.0. Baseline have been updated

Edited Jan 05, 2021 by Paul Lafoix
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: ColonneTextRepresentaton