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

Empty plots occur when adding other gems #52

Open
jenningsanderson opened this issue Jul 16, 2015 · 2 comments
Open

Empty plots occur when adding other gems #52

jenningsanderson opened this issue Jul 16, 2015 · 2 comments

Comments

@jenningsanderson
Copy link

I have a very strange issue with empty plots occuring depending on what other dependencies I load into my iRuby notebook session.

If I run this:

In [1]: require 'nyaplot'
Out[1]: true

In [2]: p = Nyaplot::Plot.new
        p.add(:bar, ['a','b','c'], [1,2,3])
        p.show

It works great:
image

However, if i then require 'mongoid', and try to run that line again, I get an empty plot:
image

Any help is appreciated! Thanks!

@jenningsanderson jenningsanderson changed the title Empty plots Empty plots occur when adding other gems Jul 16, 2015
@jenningsanderson
Copy link
Author

Furthermore, I do occasionally get an error in the console:

Uncaught Error: Mismatched anonymous define() module: [object Object]
http://requirejs.org/docs/errors.html#mismatch

@yohm
Copy link

yohm commented Oct 1, 2016

I found the same problem with v0.1.6.
Since #62 fixed this issue, a tentative fix until the next release is to specify the master branch of this repository.

gem "nyaplot", github: 'domitry/nyaplot', ref: 'master'

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