Code Monkey home page Code Monkey logo

pyplotter's Introduction

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.

pyplotter's People

Contributors

christopherjenness avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

pyplotter's Issues

Thumbnails are not refreshed.

If you make plots, start the project over, and make new plots, the thumbnail viewer shows the old plots. This should be fixed by adding image-dired-refresh-thumb at some point.

Remove elpy requirement

thanks for this project. I've been looking for something like for a long long time!

just curious about the elpy requirement. I typically dont use elpy as I find it contains more than I actually need. Is there elpy specific functionality in pyplotter, or could it be generalized to people that use, say, anaconda mode?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.