Skip to content
Python IDE for working with plots and data
Emacs Lisp
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
images
LICENSE
README.md
pyplotter.el

README.md

pyplotter

Python IDE for working with plots and data

Overview

screenshot

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.

screenshot

Installation

Copy pyplotter.el to your load path.

Add (require 'pyplotter) to your .emacs file

Usage

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.

Contributing

pyplotter has many issues.

You can’t perform that action at this time.