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

Plotting not working #12

Open
lokeshh opened this issue Mar 13, 2016 · 10 comments
Open

Plotting not working #12

lokeshh opened this issue Mar 13, 2016 · 10 comments

Comments

@lokeshh
Copy link
Member

lokeshh commented Mar 13, 2016

Plotting output isn't present in the notebooks. See for example: Usage of Vector (see the 18th cell).

I tried running the notebook with the latest gems and it's still not working.

@arafatkatze
Copy link

@lokeshh try this link.

@lokeshh
Copy link
Member Author

lokeshh commented Mar 13, 2016

@Arafatk I went to link, still I do not see any plots.

@arafatkatze
Copy link

@lokeshh For the link that I had mentioned above.
I went to the 18th input cell and saw a plot, this was simply done using chrome and I could see the plot on the link even in my phone.
Then i downloaded the notebook and ran it on my computer and it was still working.
For running it in computer you need iruby and nyaplot.

@v0dro
Copy link
Member

v0dro commented Mar 13, 2016

Notebooks sometimes don't render. It's a nyaplot issue.

domitry/nyaplot#52
domitry/nyaplot#45

@lokeshh
Copy link
Member Author

lokeshh commented Mar 13, 2016

@v0dro shouldn't the output of nbviewer be same for both us? I am using Firefox.

@v0dro
Copy link
Member

v0dro commented Mar 13, 2016

It's supposed to be. But that's an unresolved bug. Has happened to me too.

@lokeshh
Copy link
Member Author

lokeshh commented Mar 13, 2016

Like you said, notebooks sometimes don't render; it's my understanding that notebooks on nbviewer are already rendered (their output are already decided, they do not run at the time we click the link) so how can it be displaying different for both of us?

@v0dro
Copy link
Member

v0dro commented Mar 14, 2016

You can always pull the notebook onto your PC and run it for yourself if it's not showing properly on nbviewer; unless you're willing to patch nyaplot or nbviewer, whatever is the source of the issue.

@lokeshh
Copy link
Member Author

lokeshh commented Mar 15, 2016

I figured out why plots were not being displayed in nbviewer while working in Mozilla. It's because Mozilla was blocking http links while Chrome didn't. I'll soon send a patch.

@v0dro
Copy link
Member

v0dro commented Mar 15, 2016

Great!

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