☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

conversion of mpl imshow with hover

Community Support
Randy_Heiland
Randy_Heiland

Hi,

How would one go about converting a matrix displayed with mpl’s imshow into bokeh and have the ability to see numeric values via the hover? E.g., something as simple as:

import numpy as np
from pylab import *

imshow(np.arange(25).reshape(5, 5), interpolation=‘nearest’)
show()

thanks, Randy
p.s. preferably in the Anaconda version of bokeh

⌁   Link to post
Damian_Avila
Damian_Avila

Currently Bokeh’s mpl converter does not support hover capabilities… I will open an issue to see how we can achieve this sort of stuff… btw, currently mpl support is being rewritten using the mplexporter library, so we are going to see some changes in the next couple of weeks on master.

Thanks.

···

On Fri, Apr 25, 2014 at 4:19 PM, Randy Heiland randy.heiland@gmail.com wrote:

Hi,

How would one go about converting a matrix displayed with mpl’s imshow into bokeh and have the ability to see numeric values via the hover? E.g., something as simple as:

import numpy as np
from pylab import *

imshow(np.arange(25).reshape(5, 5), interpolation=‘nearest’)
show()

thanks, Randy
p.s. preferably in the Anaconda version of bokeh

–

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+unsubscribe@continuum.io.

To post to this group, send email to bokeh@continuum.io.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/23e496d0-5131-47c2-a8d9-37dcb58134b5%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

⌁   Link to post
mesutkarakoc
mesutkarakoc

Hi,

After 2 years, is there any update about this?

Thanks.

···

On Friday, April 25, 2014 at 10:52:58 PM UTC+3, Damian Avila wrote:

Currently Bokeh’s mpl converter does not support hover capabilities… I will open an issue to see how we can achieve this sort of stuff… btw, currently mpl support is being rewritten using the mplexporter library, so we are going to see some changes in the next couple of weeks on master.

Thanks.

On Fri, Apr 25, 2014 at 4:19 PM, Randy Heiland randy....@gmail.com wrote:

Hi,

How would one go about converting a matrix displayed with mpl’s imshow into bokeh and have the ability to see numeric values via the hover? E.g., something as simple as:

import numpy as np
from pylab import *

imshow(np.arange(25).reshape(5, 5), interpolation=‘nearest’)
show()

thanks, Randy
p.s. preferably in the Anaconda version of bokeh

–

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+un...@continuum.io.

To post to this group, send email to bo...@continuum.io.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/23e496d0-5131-47c2-a8d9-37dcb58134b5%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

⌁   Link to post
Bryan
Bryan

Any MPL work is contingent upon the implementation of Matplotlib Enhancement Proposal 25, which is upstream and out of our control.

···

On Jun 15, 2016, at 09:10, mesutkarakoc@gmail.com wrote:

Hi,

After 2 years, is there any update about this?

Thanks.

On Friday, April 25, 2014 at 10:52:58 PM UTC+3, Damian Avila wrote:

Currently Bokeh’s mpl converter does not support hover capabilities… I will open an issue to see how we can achieve this sort of stuff… btw, currently mpl support is being rewritten using the mplexporter library, so we are going to see some changes in the next couple of weeks on master.

Thanks.

On Fri, Apr 25, 2014 at 4:19 PM, Randy Heiland randy....@gmail.com wrote:

Hi,

How would one go about converting a matrix displayed with mpl’s imshow into bokeh and have the ability to see numeric values via the hover? E.g., something as simple as:

import numpy as np
from pylab import *

imshow(np.arange(25).reshape(5, 5), interpolation=‘nearest’)
show()

thanks, Randy
p.s. preferably in the Anaconda version of bokeh

–

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+un...@continuum.io.

To post to this group, send email to bo...@continuum.io.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/23e496d0-5131-47c2-a8d9-37dcb58134b5%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

–

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+unsubscribe@continuum.io.

To post to this group, send email to bokeh@continuum.io.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/c2dbaffe-7132-47c5-949b-c30410750d0b%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

⌁   Link to post

End of archived discussion · Replies are disabled