SciRuby not plotting the bars

61 views
Skip to first unread message

Abhimanyu Aryan

unread,
Mar 18, 2016, 11:39:20 AM3/18/16
to SciRuby Development
I am pasting stackoverflow link for better readability for issues. Everything seems to work perfect. Its just that it ain't plotting anything. 

http://stackoverflow.com/questions/36084423/sciruby-not-plotting-the-bars

John Woods

unread,
Mar 18, 2016, 1:49:32 PM3/18/16
to SciRuby Development
To be clear, this is Nyaplot that isn't plotting the bars — not SciRuby. SciRuby is the organization. =)

On Fri, Mar 18, 2016 at 10:39 AM Abhimanyu Aryan <abhiman...@gmail.com> wrote:
I am pasting stackoverflow link for better readability for issues. Everything seems to work perfect. Its just that it ain't plotting anything. 

http://stackoverflow.com/questions/36084423/sciruby-not-plotting-the-bars

--
You received this message because you are subscribed to the Google Groups "SciRuby Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sciruby-dev...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Abhimanyu Aryan

unread,
Mar 18, 2016, 4:13:03 PM3/18/16
to SciRuby Development
I didn't knew that thanks for letting me know. I am just getting started with SciRuby. Neither I have plotting anything using Python. Although I have learned Python and but I moved to Ruby now. Did had a chance to try SciPy, PyLab etc. 

Pjotr Prins

unread,
Mar 18, 2016, 4:20:44 PM3/18/16
to sciru...@googlegroups.com
Rather than raising stackoverflow questions you better add a github
issue to the appropriate tool so a question can be closed.

Stackoverflow is more of a platform for end users, not developers.
Also it does not shine on SciRuby if you keep posting messages that
things don't work. Often they do work if you know how.

I'd prefer you use github or this mailing list first and stackoverflow
when there is a real problem that is not resolved by developers.

Pj.

On Fri, Mar 18, 2016 at 01:13:03PM -0700, Abhimanyu Aryan wrote:
> I didn't knew that thanks for letting me know. I am just getting started
> with SciRuby. Neither I have plotting anything using Python. Although I
> have learned Python and but I moved to Ruby now. Did had a chance to try
> SciPy, PyLab etc. 
>
> On Friday, March 18, 2016 at 11:19:32 PM UTC+5:30, John Woods wrote:
>
> To be clear, this is Nyaplot that isn't plotting the bars — not SciRuby.
> SciRuby is the organization. =)
> On Fri, Mar 18, 2016 at 10:39 AM Abhimanyu Aryan
> <[1]abhiman...@gmail.com> wrote:
>
> I am pasting stackoverflow link for better readability for issues.
> Everything seems to work perfect. Its just that it ain't plotting
> anything. 
> [2]http://stackoverflow.com/questions/36084423/sciruby-not-plotting-the-bars
>
> --
> You received this message because you are subscribed to the Google
> Groups "SciRuby Development" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to [3]sciruby-dev...@googlegroups.com.
> For more options, visit [4]https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups
> "SciRuby Development" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [5]sciruby-dev...@googlegroups.com.
> For more options, visit [6]https://groups.google.com/d/optout.
>
> References
>
> Visible links
> 1. javascript:
> 2. http://stackoverflow.com/questions/36084423/sciruby-not-plotting-the-bars
> 3. javascript:
> 4. https://groups.google.com/d/optout
> 5. mailto:sciruby-dev...@googlegroups.com
> 6. https://groups.google.com/d/optout


--

Abhimanyu Aryan

unread,
Mar 18, 2016, 4:33:29 PM3/18/16
to SciRuby Development
Thanks but the reason I was posting on StackOverflow is so when other users come to use SciRuby they could get help with getting everything setup. SciRuby is a fascinating technology. You guys must be ready for the crowd that would come asking for support later

Abhimanyu Aryan

unread,
Mar 18, 2016, 5:20:23 PM3/18/16
to SciRuby Development
John nyaplot seems to have some issue here. In OSX I just set up everything. Works like charm :) 


On Friday, March 18, 2016 at 11:19:32 PM UTC+5:30, John Woods wrote:

Pjotr Prins

unread,
Mar 18, 2016, 5:43:57 PM3/18/16
to sciru...@googlegroups.com
On Fri, Mar 18, 2016 at 01:33:29PM -0700, Abhimanyu Aryan wrote:
> Thanks but the reason I was posting on StackOverflow is so when other
> users come to use SciRuby they could get help with getting everything
> setup. SciRuby is a fascinating technology. You guys must be ready for the
> crowd that would come asking for support later

Ah, I see you are posting many questions to StackOverflow. That is
fine, but then please do also add the answers when you get or find
them. I guess it can act as a form of documentation if clarified.

Pj.

John Woods

unread,
Mar 18, 2016, 10:01:58 PM3/18/16
to sciru...@googlegroups.com
Yeah, I'm glad to see stackoverflow questions about SciRuby. :) More visibility!
--
You received this message because you are subscribed to the Google Groups "SciRuby Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sciruby-dev...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Abhimanyu Aryan

unread,
Mar 18, 2016, 11:00:26 PM3/18/16
to SciRuby Development
Replied all my questions. I fixed all my issues. Thanks to John and Sameer Deshmukh :) 

Dan Baark

unread,
Oct 9, 2017, 6:57:24 PM10/9/17
to SciRuby Development
Sorry to hijack/revive this thread, let me know if I should rather create a new one but I'm having a similar problem

I have a Daru dataframe `df` and Nyaplot required, running in a Jupyter notebook on a Ruby 2.3.3 kernel:

plt = df.plot type: [:scatter,:line], x: [:col_a]*2, y: [:col_b]*2 do |plot, diagram|
  plot.x_label "A"
  plot.y_label "B"
end

Returns nothing (but running it in irb returns a valid  Nyaplot::Plot with sensible looking ranges, options etc. 

plt.show

returns

#<CZTop::Socket::PUB:0x7fa0c481dfc0 last_endpoint="tcp://127.0.0.1:56223">

From which I assume something is wrong with my CZTop setup but googling hasn't got me any further.

Anyone seen this before?

Lokesh Sharma

unread,
Oct 11, 2017, 2:53:57 AM10/11/17
to sciru...@googlegroups.com
Hi Dan

I don't know if its the same problem but many a times Nyaplot doesn't work simply because it requests the browser to load HTTP content over HTTPS which browser might block. Try allowing HTTP in your current browser window or trying a different browser.

Also give a try to Daru-View (https://github.com/SciRuby/daru-view). It serves the same functionality.

--
You received this message because you are subscribed to the Google Groups "SciRuby Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sciruby-dev+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages