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
{{ message }}
Repository navigation
set_url without effect for instances of Line2D #17336
['http://www.bbc.co.uk/news', 'http://www.google.com', None]
http://www.duckduckgo.com
---------------------------------------------------------------------------
AssertionError Traceback (most recent call last)
<ipython-input-5-830e26be00ec> in <module>
15
16 assert "http://www.google.com" in svg.getvalue()
---> 17 assert "http://www.duckduckgo.com" in svg.getvalue()
When the svg is opened in a browser, the scatter plot is clickable yet the line is not.
Expected outcome
Both http://www.google.com and http://www.duckduckgo.com should be present in the svg. When the svg is opened in a browser, the line plot should be clickable as well.
This is because scatters are path collections, and the collection iteration code correctly passes URLs to the GraphicsContext, but nothing does so when drawing plain Artists.
Activity
QuLogic commentedon May 6, 2020
This is because scatters are path collections, and the collection iteration code correctly passes URLs to the
GraphicsContext, but nothing does so when drawing plainArtists.Ensure URLs are stored for plain lines in SVG.
dloeckx commentedon May 6, 2020
I checked the branch, and it does fix the issue! Many thanks.
Ensure URLs are stored for plain lines in SVG.
Ensure URLs are stored for plain lines in SVG.