Python IDE for working with plots and data
Pyplotter is a minor mode built on top of elpy. The idea is to be able to handle plots in a natural way, similar RStudio or Rodeo.
As you can see in the screenshot above, on the left is a python file and REPL. The main functionality is on the right. Any plots generated are loaded into the thumbnail viewer on the bottom right hand corner. These can be browsed and displayed in the top right window.
The other basic functionality is to be able to inspect variables without printing them. Currently, pandas DataFrames are supported, but this is easily extended. Shown below, a pandas DataFrame is being inspected in the top right window.
Copy pyplotter.el
to your load path.
Add (require 'pyplotter)
to your .emacs
file
In any elpy buffer, press M-x pyplotter-mode
. This will initialize all the functionality. People like their windows ordered in different ways, so you will need to customize the layout yourself.
The typical elpy
function to send code to the REPL is elpy-shell-send-region-or-buffer
. Instead, if you want to utilize pyplotters thumbnail browser, use pyplotter-shell-send-region-or-buffer
. This will send any plots generated to the thumbnail viewer.
By default, pyplotter-shell-send-region-or-buffer
is bound to C-c f
.
To browse your current dataframes in memory, call pyplotter-browse-dataframes
which is bound to C-c v
by default.
pyplotter has many issues.