pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/y-india/matplotlib-notes

" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-71a44d5be3f782c5.css" /> GitHub - y-india/matplotlib-notes: notes for Matplotlib - Python library | look at README
Skip to content

notes for Matplotlib - Python library | look at README

Notifications You must be signed in to change notification settings

y-india/matplotlib-notes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🖌️ Matplotlib Notes - Yuvraj

"That was my first step... now I know far beyond this, as that notes was starting."


About this Repository

This repository contains Matplotlib notes demonstrating basic to intermediate plotting techniques in Python.
It covers line plots, bar charts, pie charts, histograms, subplots, and saving figures.

These notes were created as part of my journey to learn data visualization.


Author

Yuvraj
Skills: Python | Matplotlib | Data Visualization | Charts & Graphs


What This Note Covers

1. Basic Line Plots

  • Simple line plots
  • Customizing line style, color, width, and markers
  • Adding title, labels, and grid

2. Plotting from NumPy Arrays

  • Using NumPy arrays with Matplotlib
  • Customizing markers and colors

3. Reading Data from Excel

  • Loading Excel data with Pandas
  • Cleaning columns for plotting

4. Bar Charts

  • Basic and stacked bar charts
  • Labeling axes and legends

5. Pie Charts

  • Pie charts with labels and percentages
  • Rotating start angles
  • Equal axis for circular pies

6. Histograms

  • Creating histograms to visualize distributions
  • Customizing bins, colors, and transparency

7. Subplots

  • Multiple plots in a single figure
  • Custom figure sizes
  • Titles and labels for each subplot

8. Saving Plots

  • Save figures as PNG, JPG, SVG, or PDF
  • Use dpi and bbox_inches='tight' for high-quality output

Files Generated

  • delhi_vs_mumbai_sales.png (example of saved figure)

"That was my first step... now I know far beyond this, as that notes was starting."


pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy