Python Charts
    • Matplotlib 63 The core library, with full control over every element
    • Plotly 27 Interactive charts for the web and notebooks
    • Seaborn 17 Statistical plots straight from DataFrames
    • Pandas 8 Quick charts with df.plot()
    • Altair 5 Declarative charts built on Vega-Lite
    • Plotnine 3 ggplot2's grammar of graphics in Python
    • Streamlit 1 Charts inside Streamlit data apps
    • A/B Testing 15 Sample size, analysis and sequential tests
    • Machine Learning 14 Evaluate and explain scikit-learn models
    • Causal Inference 10 Diff-in-diff, synthetic control, IV and more
    • AI 1 Use LLMs to build charts from your data
  • Python
  • All Posts
  • Decision Boundary Plot in Python with scikit-learn
    Machine Learning

    Decision Boundary Plot in Python with scikit-learn

    Plot a classifier's decision boundary with scikit-learn's DecisionBoundaryDisplay, compare six models on the same data, and see overfitting as a jagged boundary.

    Nov 25, 2026
    machine learning scikit-learn decision boundary classification knn random forest svm overfitting matplotlib
  • Double Machine Learning in Python with DoubleML
    Causal Inference

    Double Machine Learning in Python with DoubleML

    Estimate a treatment effect from observational data with the DoubleML package, understand partialling out and cross-fitting by building it by hand, and see when flexible controls beat linear regression.

    Nov 25, 2026
    causal inference double machine learning doubleml confounding cross-fitting random forest observational data scikit-learn
  • Feature Importance in Python: Impurity vs Permutation Importance
    Machine Learning

    Feature Importance in Python: Impurity vs Permutation Importance

    Plot feature importance in Python with scikit-learn, compare impurity-based importances to permutation importance on a test set, and see why the two can disagree.

    Nov 25, 2026
    machine learning scikit-learn feature importance permutation importance random forest model interpretability matplotlib

Python plotting and visualization demystified

© 2026 PythonCharts.com. All rights reserved.
  • About
  • Credits
  • Privacy Policy