sciruby-notebooks
sciruby-notebooks copied to clipboard
Plotting not working
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.
@lokeshh try this link.
@Arafatk I went to link, still I do not see any plots.
@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
.
Notebooks sometimes don't render. It's a nyaplot issue.
https://github.com/domitry/nyaplot/issues/52 https://github.com/domitry/nyaplot/issues/45
@v0dro shouldn't the output of nbviewer be same for both us? I am using Firefox.
It's supposed to be. But that's an unresolved bug. Has happened to me too.
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?
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.
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.
Great!