You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Matplotlib version: current dev ('2.1.0.post658.dev0+g39694f2)
Matplotlib backend: SVG
Python version: 3.6.3
Posible cause and suggested solution
I traced the problem to the Trick class, where the url attribute is not passed to any of the objects that are to be drawn. My successful workaround has been to override the set_url() method in the class Tick to transfer the url attribute content to the tick labels, that are to be drawn. I'll prepare a PR with this simple solution to be evaluated.
The text was updated successfully, but these errors were encountered:
Bug report
Bug summary
Using SVG back-end, setting the url attribute in objects of class Tick does nothing regarding the final plot, whereas it does for other objects.
Code for reproduction
It is an extension of the hyperlinks example to
to deal with hyperlinks in the ticks:
Actual outcome
I get:
So it properly changes the
url
attribute. Unfortunately, the svg file generated has no trace of the ticks hyperlinks:...while it does for the scatter plot links, for instance:
Expected outcome
Matplotlib version
Posible cause and suggested solution
I traced the problem to the Trick class, where the
url
attribute is not passed to any of the objects that are to be drawn. My successful workaround has been to override theset_url()
method in the class Tick to transfer theurl
attribute content to the tick labels, that are to be drawn. I'll prepare a PR with this simple solution to be evaluated.The text was updated successfully, but these errors were encountered: