Empty plots occur when adding other gems
jenningsanderson opened this issue · 2 comments
jenningsanderson commented
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
However, if i then require 'mongoid'
, and try to run that line again, I get an empty plot:
Any help is appreciated! Thanks!
jenningsanderson commented
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