Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PyPlot.jl and imshow #1422

Closed
roflmaostc opened this issue Aug 27, 2021 · 2 comments
Closed

PyPlot.jl and imshow #1422

roflmaostc opened this issue Aug 27, 2021 · 2 comments

Comments

@roflmaostc
Copy link

roflmaostc commented Aug 27, 2021

Hey,

I've seen that PyPlot.jl in general works, but in Pluto nothing really happens for:

begin
	using PyPlot
	PyPlot.imshow(randn((3,3)))
end

Only some output:

PyObject <matplotlib.image.AxesImage object at 0x7f08ddf99700>

In the REPL that pops-up an external, interactive viewer. In Jupyter it is within the browser, but I would be happy to have it externally.

Thanks a lot,

Felix

Setup:

  • PyPlot v2.9.0
  • Pluto v0.15.1
@fonsp
Copy link
Owner

fonsp commented Sep 1, 2021

Can you report this to PyPlot.jl instead? Feel free to get in touch if you have a specific question or issue.

@diegozea
Copy link
Contributor

Hi!

This is a workaround in case someone needs it:

import PyPlot

begin
	PyPlot.figure()
	PyPlot.imshow(randn((3,3)))
	PyPlot.gcf()
end

Best!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants