Module: Matplotlib::IRuby
- Defined in:
- lib/matplotlib/iruby.rb
Defined Under Namespace
Modules: Helper, HookExtension
Constant Summary collapse
- AGG_FORMATS =
{ "image/png" => "png", "application/pdf" => "pdf", "application/eps" => "eps", "image/eps" => "eps", "application/postscript" => "ps", "image/svg+xml" => "svg" }.freeze
Class Method Summary collapse
-
.activate(gui = :inline) ⇒ Object
NOTE: This method is translated from ‘IPython.core.activate_matplotlib` function.
- .available_gui_names ⇒ Object
Class Method Details
.activate(gui = :inline) ⇒ Object
NOTE: This method is translated from ‘IPython.core.activate_matplotlib` function.
110 111 112 |
# File 'lib/matplotlib/iruby.rb', line 110 def activate(gui=:inline) enable_matplotlib(gui) end |
.available_gui_names ⇒ Object
133 134 135 |
# File 'lib/matplotlib/iruby.rb', line 133 def available_gui_names GUI_BACKEND_MAP.keys end |