A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://pandas.pydata.org/pandas-docs/stable/reference/api/../api/pandas.plotting.plot_params.html below:

pandas.plotting.plot_params — pandas 2.3.1 documentation

pandas.plotting.plot_params#
pandas.plotting.plot_params = {'xaxis.compat': False}#

Stores pandas plotting options.

Allows for parameter aliasing so you can just use parameter names that are the same as the plot function parameters, but is stored in a canonical format that makes it easy to breakdown into groups later.

Examples

>>> np.random.seed(42)
>>> df = pd.DataFrame({'A': np.random.randn(10),
...                   'B': np.random.randn(10)},
...                   index=pd.date_range("1/1/2000",
...                   freq='4MS', periods=10))
>>> with pd.plotting.plot_params.use("x_compat", True):
...     _ = df["A"].plot(color="r")
...     _ = df["B"].plot(color="g")

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4