We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9415946 commit 4159f3bCopy full SHA for 4159f3b
lib/matplotlib/iruby.rb
@@ -245,10 +245,7 @@ def show_figures(close=false)
245
kernel = ::IRuby::Kernel.instance
246
gcf.get_all_fig_managers.each do |fig_manager|
247
data = ::IRuby::Display.display(fig_manager.canvas.figure)
248
- kernel.session.send(:publish, :execute_result,
249
- data: data,
250
- metadata: {},
251
- execution_count: kernel.instance_variable_get(:@execution_count))
+ kernel.session.send(:publish, :display_data, data: data, metadata: {})
252
end
253
ensure
254
unless gcf.get_all_fig_managers.nil?
0 commit comments