First time here? Check out the FAQ!

Ask Your Question
0

Clickable Image

asked 4 years ago

Cyrille gravatar image

Is it possible to use a clickable image in a markdown cell of Sagemath or with @interact ?

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
0

answered 4 years ago

tmonteil gravatar image

Assume that in a code cell you did:

p = plot(sin)
p.save('myplot.png')

so that the file myplot.png is a picture of the sin function.

Now, to make a cickable image from that image to https://ask.sagemath.org/, you can do in a markdown cell:

[![](myplot.png)](https://ask.sagemath.org)

Now, within an interact, the question is less clear, if you want the click to be interpreted by the interact, you can have a look at : https://github.com/sagemath/sage-comb...

Preview: (hide)
link

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 4 years ago

Seen: 840 times

Last updated: May 31 '20