RepositoryPythonUGUganda
HA

has2k1/plotnine

A Grammar of Graphics for Python

4.8ksao
269fork
74issue
2lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Quốc gia: UG

#1 Repository của tháng

2
TINIX TRENDING·Chủ đề: plotting

#2 Repository của tháng

3
TINIX TRENDING·Chủ đề: grammar

#3 Repository của tháng

🎨 plotnine: Grammar of Graphics mạnh mẽ trong Python

Port trực tiếp từ ggplot2, plotnine mang khái niệm grammar of graphics vào Python.

plotnine là thư viện Python cài đặt grammar of graphics dựa trên ggplot2. Nó cho phép xây dựng biểu đồ bằng cách ánh xạ biến trong dataframe tới đặc tính trực quan như vị trí, màu sắc, kích thước.

✨ Điểm nổi bật

  • Grammar of Graphics: Cú pháp +-based, ánh xạ biến dataframe tới aesthetics
  • ggplot2 API: Tương đương ggplot2, dùng + để kết hợp các thành phần
  • Facetting: Hỗ trợ facet_wrap() để chia biểu đồ thành nhiều panel
  • Statistical transforms: stat_smooth() với mô hình tuyến tính và khoảng tin cậy
  • Themes đa dạng: theme_xkcd(), theme_tufte() cho phong cách khác nhau
  • Cài đặt đơn giản: Hỗ trợ pip, conda, pixi

💡 Vì sao đáng chú ý

plotnine khác biệt so với matplotlib bằng cách cung cấp một ngôn ngữ khai báo để xây dựng biểu đồ từng bước. Điều này giúp người dùng tập trung vào logic của dữ liệu thay vì chi tiết kỹ thuật. Phù hợp cho phân tích dữ liệu và trực quan hóa phức tạp.


#plotnine #ggplot2 #GrammarOfGraphics #Python #DataVisualization #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryPython
scikit-learn/scikit-learn

scikit-learn: machine learning in Python

68.4k
Dec 1, 2026
RepositoryPython
TheAlgorithms/Python

All Algorithms implemented in Python

226.6k
Nov 13, 2026
RepositoryPython
donnemartin/system-design-primer

Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.

379.9k
Sep 15, 2026
RepositoryPython
vinta/awesome-python

The definitive list that answers "I want to do X in Python, which tool should I use?"

338.6k
Nov 28, 2026
RepositoryPython
practical-tutorials/project-based-learning

Curated list of project-based tutorials

290.9k
Nov 30, 2026
RepositoryPython
yt-dlp/yt-dlp

A feature-rich command-line audio/video downloader

212.4k
Dec 2, 2026
RepositoryPython
521xueweihan/HelloGitHub

:octocat: 分享 GitHub 上有趣、入门级的开源项目。Share interesting, entry-level open source projects on GitHub.

192.6k
Nov 27, 2026
RepositoryPython
Significant-Gravitas/AutoGPT

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

188.2k
Nov 29, 2026
RepositoryPython
Shubhamsaboo/awesome-llm-apps

100+ AI Agents, Agent Skills and RAG Apps - Free and Open Source.

146.6k
Dec 2, 2026