SPB Git
5.1 KB · 164 lines json
1{2  "aliases": [3    "pyplot"4  ],5  "workflows": [6    "Publication figures exported as PDF or PGF for a LaTeX paper",7    "Quick plots from pandas DataFrames in a notebook",8    "Base layer for seaborn and statsmodels diagnostic plots"9  ],10  "advantages": [11    "Complete control over figure details",12    "Vector output integrates with LaTeX workflows",13    "Underpins most of the Python plotting ecosystem"14  ],15  "limitations": [16    "Verbose for complex layouts",17    "Limited interactivity",18    "Defaults require styling for polished output"19  ],20  "prerequisites": [21    "Python with NumPy; optional LaTeX installation for text rendering"22  ],23  "audiences": [24    "Researchers preparing figures for papers",25    "Students and scientists in Python"26  ],27  "alternatives": [28    "plotly",29    "vega-altair",30    "d3",31    "r"32  ],33  "tags": [34    "data-visualization",35    "python",36    "latex",37    "open-source",38    "notebooks"39  ],40  "use_cases": [41    "visualize-data",42    "write-papers"43  ],44  "operating_systems": [45    "macos",46    "linux",47    "windows"48  ],49  "deployment_models": [50    "embedded"51  ],52  "integrations": [53    "NumPy",54    "pandas",55    "seaborn",56    "statsmodels",57    "Jupyter",58    "LaTeX"59  ],60  "data_formats": [61    "PNG",62    "PDF",63    "SVG",64    "PS/EPS",65    "PGF"66  ],67  "languages": [68    "Python"69  ],70  "self_hostable": true,71  "discovery_method": "editorial-research",72  "depth": "standard",73  "editorial_status": "reviewed",74  "visibility": "public",75  "featured": false,76  "author": "batch-D",77  "slug": "matplotlib",78  "name": "Matplotlib",79  "vendor": {80    "name": "Matplotlib Development Team (NumFOCUS)",81    "slug": "matplotlib-dev",82    "website": "https://matplotlib.org/"83  },84  "homepage_url": "https://matplotlib.org/",85  "docs_url": "https://matplotlib.org/stable/",86  "repo_url": "https://github.com/matplotlib/matplotlib",87  "license_url": "https://matplotlib.org/stable/project/license.html",88  "product_type": "library",89  "product_status": "active",90  "summary": "The foundational Python plotting library for static, publication-quality figures with full control over every element, exported to PDF, SVG, PNG and PGF",91  "description": "Matplotlib is the long-standing plotting library of scientific Python, maintained by the Matplotlib Development Team under NumFOCUS and distributed under a permissive license derived from the Python Software Foundation license. It produces static two-dimensional figures (with a 3D toolkit) through the state-machine pyplot interface familiar from MATLAB or the explicit object-oriented Figure and Axes API, and renders them with backends for PNG, PDF, SVG, PS and PGF/LaTeX output or interactive windows in Qt, Tk, macOS and web contexts. Text can be typeset with LaTeX, every line, tick, legend and annotation is adjustable, and style sheets or rcParams control defaults globally, which is why most figures in economics and finance papers written in Python pass through it.\n\npandas, seaborn, statsmodels, GeoPandas and many domain packages plot through Matplotlib, and Jupyter displays its output inline. Its weaknesses are the inverse of its strengths: verbose code for complex layouts, limited interactivity compared with Plotly or Altair, and defaults that need styling for presentation. Animation and very large datasets are possible but not its focus.",92  "capabilities": [93    "pyplot and object-oriented Figure/Axes APIs",94    "Vector output to PDF, SVG, PS and PGF for LaTeX documents",95    "LaTeX text rendering and mathtext",96    "Style sheets and rcParams for consistent defaults",97    "Interactive backends for Qt, Tk, macOS and Jupyter",98    "3D plotting toolkit and animation module"99  ],100  "categories": [101    {102      "slug": "data-visualization",103      "primary": true104    },105    {106      "slug": "academic-writing"107    }108  ],109  "execution_modes": [110    "local"111  ],112  "interfaces": [113    "library"114  ],115  "source_model": "open-source",116  "pricing_model": [117    "open-source",118    "free"119  ],120  "sources": [121    {122      "url": "https://matplotlib.org/",123      "type": "official_site",124      "supports": [125        "name",126        "summary"127      ],128      "checked_at": "2026-11-02",129      "title": "Matplotlib — Visualization with Python"130    },131    {132      "url": "https://matplotlib.org/stable/",133      "type": "official_docs",134      "supports": [135        "capabilities",136        "data_formats"137      ],138      "checked_at": "2026-11-02",139      "title": "Matplotlib documentation"140    },141    {142      "url": "https://matplotlib.org/stable/project/license.html",143      "type": "license_page",144      "supports": [145        "source_model"146      ],147      "checked_at": "2026-11-02",148      "title": "Matplotlib license",149      "note": "PSF-derived Matplotlib license; no exact SPDX identifier, so license_spdx is omitted"150    },151    {152      "url": "https://github.com/matplotlib/matplotlib",153      "type": "repository",154      "supports": [155        "repo_url"156      ],157      "checked_at": "2026-11-02",158      "title": "matplotlib/matplotlib"159    }160  ],161  "confidence": "high",162  "uncertainty_note": "license_spdx omitted because the Matplotlib license is a PSF-style license without an exact SPDX identifier."163}164
Files · 19c0ff748ee94e0979c734f5fb3afeefc11ee9e1
Menu

Theme