Giter Site home page Giter Site logo

gapdata / pythonplot.com Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tdhopper/pythonplot.com

0.0 0.0 0.0 33.23 MB

๐Ÿ“ˆ Interactive comparison of Python plotting libraries for exploratory data analysis. Examples of using Pandas plotting, plotnine, Seaborn, and Matplotlib.

Home Page: http://pythonplot.com

License: Other

Python 0.23% Shell 0.01% Jupyter Notebook 99.03% Makefile 0.03% HTML 0.31% CSS 0.40%

pythonplot.com's Introduction

By Tim Hopper: tdhopper.com

alt text alt text

Build Status

An Introduction to Python Plotting for Exploratory Data Analysis

Available at pythonplot.com

Contributing

The site is generated from plots in the Examples.ipynb Python 3, Jupyter notebook.

You can create a Conda dev environment to run the notebook with make dev_environment.

Each plot in the notebook is tagged with metadata using Jupyter cell tags. You can view the cell tags in your notebook with View > Cell Toolbar > Tags.

The tags look like this:

ex
name:scatter-with-regression
package:ggplot

If you are using Jupyter lab, these are available through the Cell Tools left sidebar menu:

{
    "tags": [
        "ex",
        "name:scatter-with-regression",
        "package:ggplot"
    ]
}

ex identifies the cell as an example. The name tag corresponds to an item in the names dictionary in render.py. The package tag corresponds to a package in the packages dict in render.py.

The site layout current allows for ~46 characters in the code window. Please keep this in mind and wrap your code to avoid too much side scrolling.

At the moment, the code must return a png image into the output cell. To generate image files with plotly, using their server is currently the only way. Please see the getting started page for instructions on the .credentials file.

A Markdown comment can be added within triple quotes on the first line of the cell. (This currently doesn't work for R cells.)

You can render the images to web/img/plots by running $ make. Afterward, launch a local server (e.g. python -m http.server) from the web directory.

pythonplot.com's People

Contributors

domoritz avatar richard-muir avatar tdhopper avatar

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.