lib/matplotlib/iruby.rb in matplotlib-1.0.0 vs lib/matplotlib/iruby.rb in matplotlib-1.1.0

- old
+ new

@@ -59,11 +59,11 @@ begin result = @backend.eval(code, msg[:content]['store_history']) rescue SystemExit content[:payload] << { source: :ask_exit } rescue Exception => e - content = error_message(e) + content = error_content(e) @session.send(:publish, :error, content) end trigger_event(:post_execute) @@ -118,10 +118,10 @@ qt5: :Qt5Agg, osx: :MacOSX, nbagg: :nbAgg, notebook: :nbAgg, agg: :agg, - inline: 'module://ruby.matplotlib.backend_inline', + inline: 'module://matplotlib_rb.backend_inline', }.freeze BACKEND_GUI_MAP = Hash[GUI_BACKEND_MAP.select {|k, v| v }].freeze private_constant :GUI_BACKEND_MAP, :BACKEND_GUI_MAP