Skip to content

Commit

Permalink
Set a default size of 0 for tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
liZe committed May 29, 2012
1 parent f72e2a7 commit 3ed420e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pygal/graph/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def _make_graph(self):
a = self.svg.node(self.nodes['tooltip'], 'a')
self.svg.node(a, 'rect',
id="tooltip-box",
rx=5, ry=5,
rx=5, ry=5, width=0, height=0
)
text = self.svg.node(a, 'text', class_='text')
self.svg.node(text, 'tspan', class_='label')
Expand Down

0 comments on commit 3ed420e

Please sign in to comment.