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
  • A/B Testing in Python: A Guide from Sample Size to Sequential Tests
    A/B Testing

    A/B Testing in Python: A Guide from Sample Size to Sequential Tests

    A map of the A/B testing tutorials: plan the sample size, analyze the result, sharpen it with CUPED, check it with a bootstrap, try the Bayesian view and avoid the damage from peeking.

    Nov 25, 2026
    ab testing experimentation statistics sample size cuped bayesian sequential testing guide
  • Multi-Armed Bandit in Python: Thompson Sampling vs A/B Testing
    A/B Testing

    Multi-Armed Bandit in Python: Thompson Sampling vs A/B Testing

    Implement Thompson sampling for a multi-armed bandit in Python with NumPy, compare it with a fixed A/B/n split and epsilon-greedy using regret curves, and learn what a bandit costs you in measurement.

    Nov 25, 2026
    ab testing experimentation multi-armed bandit thompson sampling regret epsilon-greedy bayesian numpy
  • Bayesian A/B Testing in Python: Beta-Binomial Posteriors and P(B > A)
    A/B Testing

    Bayesian A/B Testing in Python: Beta-Binomial Posteriors and P(B > A)

    Run a Bayesian A/B test on conversion rates in Python with SciPy. Build Beta posteriors, compute the probability that B beats A, a credible interval for the lift, and the expected loss of each decision.

    Nov 25, 2026
    ab testing experimentation bayesian beta-binomial credible interval scipy conversion rate expected loss

Python plotting and visualization demystified

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