Python Charts
    • Matplotlib 91 The core library, with full control over every element
    • Plotly 44 Interactive charts for the web and notebooks
    • Seaborn 33 Statistical plots straight from DataFrames
    • Pandas 13 Quick charts with df.plot()
    • Altair 11 Declarative charts built on Vega-Lite
    • Bokeh 5 Interactive plots with linked tools and widgets
    • Plotnine 8 ggplot2's grammar of graphics in Python
    • Streamlit 12 Charts inside Streamlit data apps
    • A/B Testing 15 Sample size, analysis and sequential tests
    • Machine Learning 26 Evaluate and explain scikit-learn models
    • Causal Inference 16 Diff-in-diff, synthetic control, IV and more
    • AI 4 Use LLMs to build charts from your data
  • Python
  • Chart Gallery
  • All Posts
  • Plotly Axis Range and Log Scale: range_y, log_y, and update_yaxes
    Plotly

    Plotly Axis Range and Log Scale: range_y, log_y, and update_yaxes

    Set axis limits and log scales in Plotly: range_x/range_y and log_x/log_y in Plotly Express, fig.update_yaxes(range=..., type="log") for any figure, why log ranges are in powers of 10, partial ranges, reversed axes, log tick formats, and limits on zooming.

    Dec 05, 2026
    plotly plotly express axis range log scale update_yaxes axes

Python plotting and visualization demystified

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