matplotlib/matplotlib SLOC report

As of 2026-09-02 (commit 374b2da71ccb), matplotlib/matplotlib contains 332,137 total lines: 256,578 code, 33,362 comments, 42,197 blank, across 1,230 files in 21 languages (top: Python 69.7%). Counted with tokei via OctoCounts.

As of 2026-09-02 (commit 374b2da71ccb), matplotlib/matplotlib contains 332,137 total lines: 256,578 code, 33,362 comments, 42,197 blank, across 1,230 files in 21 languages (top: Python 69.7%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving matplotlib/matplotlib to commit 374b2da71ccb, downloading the repository source archive, and counting every source file with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options, so counting the same revision again reproduces exactly these numbers.

Repository size insights

This is a large codebase by counted code lines. Code represents 77.3% of all lines, comments represent 10.0%, and the repository averages 209 code lines per file. Python accounts for 69.7% of counted code.

LanguageFilesLinesCodeCommentsBlanks
Python8692272611787872255125923
C Header156558114011777187976
C++55329902450621036381
JSON94428442800
ReStructuredText544653347101182
Objective-C120261675124227
SVG1610851045337
JavaScript31001767104130
Meson238117153660
TOML14973888029
CSS53562444963
YAML22332001617

Top language (Python 69.7%). Generated at 2026-09-02T22:31:14.216521294+00:00.

Report FAQ

How many lines of code does matplotlib/matplotlib have?

matplotlib/matplotlib has 332,137 total lines, including 256,578 code lines, 33,362 comment lines, and 42,197 blank lines.

How was the matplotlib/matplotlib line count measured?

OctoCounts resolved the public GitHub repository to commit 374b2da71ccb, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

What commit was counted for matplotlib/matplotlib?

This OctoCounts report was generated from main at commit 374b2da71ccb on 2026-09-02T22:31:14.216521294+00:00.

Similar repository reports

Other public repositories with an OctoCounts report, ranked by top language and code size similarity: