Commit d839faf9 authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

Fix bug when vertex_font_size is a property map

parent b974e3c5
......@@ -793,6 +793,7 @@ def get_bb(g, pos, size, pen_width, size_scale=1, text=None, font_family=None,
fs = font_size[v] if isinstance(font_family, PropertyMap) \
else font_size
if not isinstance(font_size, PropertyMap):
t = text[v] if isinstance(text, PropertyMap) else text
if not isinstance(t, str):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment