Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • graph-tool graph-tool
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 48
    • Issues 48
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • 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

Please use the issue tracker only to report bugs (i.e. errors in the library that need to be fixed) or feature requests.

For questions about how to compile, install or use the library, please use instead the web forum at https://forum.skewed.de/c/graph-tool.


(If unsure, use the forum first.)


IMPORTANT: When opening new issues, please choose the BUG template from the drop-down menu, and fill out the required information.

  • Tiago Peixoto
  • graph-toolgraph-tool
  • Issues
  • #405
Closed
Open
Issue created Jul 08, 2017 by Luke Nukem@LukeNukem

Misspelling in cairo_draw.py

When trying to set the colors for pie-chart-vertices, I got the folowing error:

File "/usr/lib/python3/dist-packages/graph_tool/draw/cairo_draw.py", line 379, in new_val = flatten(color_convert.to_rgba(x) for x in val) NameError: name 'color_convert' is not defined

There is no "color_convert" but "color_converter" in that file. Changing that line from

new_val = flatten(color_convert.to_rgba(x) for x in val)

to

new_val = flatten(color_converter.to_rgba(x) for x in val)

solved the issue on my local machine.

Edited Jul 08, 2017 by Luke Nukem
Assignee
Assign to
Time tracking