Giter Club home page Giter Club logo

vis-tutorial's Introduction

Openmod visualisation tutorial

Authors: Bryn Pickering, Stefan Pfenninger

License: MIT

About

A tutorial on how to visualise data with Python, consisting of three Jupyter Notebooks:

  • 01-matplotlib.ipynb shows how to use matplotlib, the workhorse of plotting in Python, together with pandas and seaborn.
  • 01-matplotlib-exercise.ipynb contains a single exercise on the basics of matplotlib, intended to cover the first half of the 01-matplotlib.ipynb notebook.
  • 02-web-based.ipynb introduces Plotly and Bokeh, modern web-based libraries which make it very easy to create interactive visualisations.
  • 03-touching-up.ipynb shows how to save vector graphics from matplotlib, Plotly or Bokeh for final touching up in a separate tool, for example the free and open-source Inkscape.
  • 04-maps.ipynb shows some ways to plot maps.

Setup

1. Install the Anaconda Python distribution

Download the Anaconda Python distribution and run the downloaded installer:

https://www.anaconda.com/download/

Make sure you download the Python 3 version.

2. Create an environment

Once Anaconda is installed, create a new conda environment with the required packages, by running the following command in a terminal (Linux or macOS) or a command-line window (Windows), making sure you run this command inside the directory containing our requirements.yml file:

conda env create -f requirements.yml

3. Ensure that you can successfully run a Jupyter Notebook

If you are unfamiliar with the Jupyter Notebook, have a look at this quick start guide, in particular the section on running the notebook.

During the tutorial session we will not have time to solve installation problems, so make sure that you are able to run the Jupyter Notebook before you arrive.

Data

We are using data made available from the Open Power System Data project for this tutorial. These datasets can be found in the data subdirectory and are based on the following download links:

Other libraries we don't cover here

vis-tutorial's People

Contributors

brynpickering avatar sjpfenninger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  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.