How to add clickable url links to 3D Matplotlib chart ?

Christian Gollwitzer auriocus at gmx.de
Thu Mar 30 01:54:50 EDT 2023


Am 30.03.23 um 01:11 schrieb a a:
> On Wednesday, 29 March 2023 at 22:51:15 UTC+2, Greg Ewing wrote:
>> On 30/03/23 8:39 am, a a wrote:
>>> How to add clickable url links to the following 3D Matplotlib chart to make it knowledge representation 3D chart, make of 1,000+ open Tabs in Firefox ?
>> It seems that matplotlib can be made to generate SVG images with
>> hyperlinks in them:
>>
>> https://matplotlib.org/stable/gallery/misc/hyperlinks_sgskip.html
>>
>> -- 
>> Greg
> thank you
> but I need mouse hover-on, mouse click events to be handled by a simple algorithm to calculate which ball/circle has been selected (in the Matplotlib 3D animated chart above) to make the selected ball to flash and have label opened made of url icon, name of url, followed by url (exactly what Firefox makes with Tabs)
> 
> For knowledge representation, 1,000+  Tabs open in Firefox,  earthquakes 3D live chart by Giuseppe is a nice tool.
> 
> One axis can represent time (timeline), two other axis can represent features attributed to to opened Tabs, like frequency of visits, ranking.
> 
> Ok, balls should overlayed with a respective url icon, as done in Firefox (Tabs row) : url icon + label's name abbreviated


It doesn't sound as if there is a "one-line" solution to this problem. 
It sounds more like you want a video game engine to interact with a 3D 
world.

There used to be a 3D version of HTML, called VRML, with the successor 
of X3D that could show such a thing in the browser, but I doubt that 
there is easy support for it any more in recent browsers. Therefore it 
would be difficult to post this to the internet, unless you invest in 
some JS programming. In case you want to run this on your local 
computer, as opposed to in the browser, you can check out Python game 
engines.

	Christian


More information about the Python-list mailing list