compas-dev / compas-dev/compas
`Mesh` parameter `vertextext` does not get passed
- Dominant language
- Python
- Stars
- 386
- Forks
- 122
- Avg merge
- 11d 46m
- Merged PRs (30d)
- 1
Description
The `Mesh` parameter `vertextext` does not get passed to the plotter. Therefore, the code below that should write the vertex key in the vertices does not work as expected.
Code:
```
from compas.datastructures import Mesh
from compas_plotters import Plotter
p = [(0, 0, 0), (10, 0, 0), (10, 10, 0), (0, 10, 0)]
lines = [(p[0], p[1]), (p[1], p[2]), (p[2], p[3]), (p[3], p[0])]
mesh = Mesh.from_lines(lines)
plotter = Plotter()
plotter.add(mesh, vertextext={key: key for key in mesh.vertices()})
plotter.show()
```
Result:

I am using compas version `1.14.0`.
Could you give me some light in how to add vertex texts to the current plotter?
Contributor guide
Assessment
This issue has not been assessed yet.