Skip to content

pscedu/basic-plotting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 

Repository files navigation

basic-plotting - Plotting for Data Scientists

A collection of simple, clear, and reusable plotting examples using Python and Jupyter notebooks.
This repository is maintained by the Biomed Apps group and is intended to serve as a reference for generating high-quality figures for scientific computing, data analysis, education, and documentation.


πŸ“˜ Overview

This repository contains Jupyter notebooks demonstrating:

  • Basic 2D plotting (line plots, scatter plots, bar charts)
  • Subplots and figure layouts
  • Customizing labels, legends, ticks, and styles
  • Common scientific visualizations
  • Exporting figures for publications or reports

All notebooks are designed to run directly in the cloud via:

  • Google Colab
  • GitHub Codespaces

No local Python installation is required.


πŸ“‚ Repository Structure


basic-plotting/
β”‚
β”œβ”€β”€ notebooks/
β”‚ β”œβ”€β”€ line-plots.ipynb
β”‚ β”œβ”€β”€ scatter-plots.ipynb
β”‚ β”œβ”€β”€ bar-charts.ipynb
β”‚ β”œβ”€β”€ subplots.ipynb
β”‚ β”œβ”€β”€ styling-and-themes.ipynb
β”‚ └── exporting-figures.ipynb
β”‚
└── README.md

▢️ How to Use the Notebooks

Google Colab

  1. Open any notebook directly in Colab:
https://colab.research.google.com/github/your-org/basic-plotting/blob/main/notebooks/line-plots.ipynb

Click Open in Colab at the top.

Run cells directly in your browser.

All dependencies (matplotlib, numpy, pandas) are installed automatically in Colab.

GitHub Codespaces

Open the repository in GitHub Codespaces .

Launch JupyterLab or VS Code interface.

Open any notebook from the notebooks/ folder and run interactively.

Codespaces provides a full Python environment, so you can run and modify notebooks without installing anything locally.

πŸ§ͺ Contributions

Contributions from members of the Biomed Apps group are welcome. If adding new examples, please follow these guidelines:

Use clean, self-contained code

Annotate plots with explanations or markdown cells

Keep dependencies minimal

Name notebooks descriptively

To submit a contribution, open a pull request.


πŸ“„ License & Copyright

Β© 2025 Biomed Applications Group, Pittsburgh Supercomputing Center. All rights reserved.

About

Plotting for Data Scientists

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published