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

Problem showing a png() using Plots.plot(img) #47

Closed
sje30 opened this issue Oct 29, 2016 · 3 comments
Closed

Problem showing a png() using Plots.plot(img) #47

sje30 opened this issue Oct 29, 2016 · 3 comments

Comments

@sje30
Copy link

sje30 commented Oct 29, 2016

Hi,

Not sure if this should go to GR.jl or Plots.jl... (CC @tbreloff)

But when I try to load a simple image using v0.5 Julia and latest release of packages, the plot is okay in pyplot, but not gr:

using Plots, Images
f = expanduser("~/.julia/v0.5/Images/docs/src/img/rose_hsv.png")
img = Images.load(f)
pyplot()
plot(img)

gr()
plot(img)

Results in the following two windows:

ohoh

@sje30
Copy link
Author

sje30 commented Oct 29, 2016

(ps @tbreloff: I was following the example from your documentation at: https://juliaplots.github.io/examples/gr/#images

but the code seems to rely on the PlotReferenceImages folder which I think is no longer created.)

@tbreloff
Copy link

This is known and unsolved. And yes I should change that example to use
TestImages.

On Saturday, October 29, 2016, Stephen Eglen notifications@github.com
wrote:

(ps @tbreloff https://github.com/tbreloff: I was following the example
from your documentation at: https://juliaplots.github.io/
examples/gr/#images

but the code seems to rely on the PlotReferenceImages folder which I think
is no longer created.)


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#47 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AA492iNwyKGuzqT4WUIM1Vr1R0ddBV77ks5q47jNgaJpZM4KkOJM
.

@sje30
Copy link
Author

sje30 commented Oct 29, 2016

ok, thanks!

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

2 participants