Skip to content

A repo dedicated to illustrating advanced Matplotlib charting techniques

Notifications You must be signed in to change notification settings

Landcruiser87/adv_mpl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advanced Matplotlib

Requirements

  • Python >= 3.8

Cloning and setting up environment.

Launch VSCode if that is IDE of choice.

`CTRL + SHIFT + ~` will open a terminal
Navigate to the directory where you want to clone the repo. 

$ git clone https://github.com/
$ cd adv_mpl
$ python -m venv .mp_venv
(Or replace .mp_venv with whatever you want to call your environment)	

On Windows
$ .mp_venv\Scripts\activate.bat

On Mac
$ source .mp_venv/bin/activate

Before next step, ensure you see the environment name to the left of your command prompt. If you see it and the path file to your current directory, then the environment is activated. If you don't activate it, and start installing things. You'll install all the requirements.txt libraries into your base python environment. Which will lead to dependency problems down the road. I promise. After that has been activated, go to your terminal and type pip list to check your base python libraries. Now is a good time to upgrade pip and setuptools. As those should be the only two libraries you see on a clean python installation. If not... well.

Screenshot 2023-03-28 144052

Next install the required libraries with the below pip command!

$ pip install -r requirements.txt

Order of operations of above terminal commands.

  • Open Terminal
  • Clone repo
  • Change directories
  • Create venv
  • Activate venv
  • Upgrade pip (because reasons)
  • Install libraries

File Setup

While in root directory run commands below

$ mkdir data
$ mkdir scripts

Copy data to data directory

Main Outline

Intro

  1. General overview of how to plot

Gridspec

  1. Layering multiple plots on a GridSpec
  2. Use of debugger in plotting. The best trial and error and object exploration

All the rest

  1. objects
  2. Embed ML routines
  3. Plot animation
  4. Python - graph - gallery

About

A repo dedicated to illustrating advanced Matplotlib charting techniques

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published