We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
constrained_layout=True
az.rcParams
I'm using the "arviz-darkgrid" style and I'm getting a constrained layout even when I attempt to disable it via
"arviz-darkgrid"
az.rcParams["plot.matplotlib.constrained_layout"] = False
The code
import arviz as az import matplotlib.pyplot as plt az.style.use("arviz-darkgrid") az.rcParams["plot.matplotlib.constrained_layout"] = False fig, axes = plt.subplots(1, 2) axes[0].scatter([1, 2], [1, 2]) axes[1].scatter([1, 2], [1, 2]) fig.subplots_adjust(bottom=0.2)
The result
The environment
%load_ext watermark %watermark -n -u -v -iv -w
Last updated: Mon Aug 23 2021 Python implementation: CPython Python version : 3.8.5 IPython version : 7.18.1 matplotlib: 3.4.3 arviz : 0.11.2 json : 2.0.9 Watermark: 2.1.0
The text was updated successfully, but these errors were encountered:
We are setting constrained_layout twice, and that is causing this bug.
In the meantime you can disable it using plt.rcParams['figure.constrained_layout.use'] = False
plt.rcParams['figure.constrained_layout.use'] = False
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
I'm using the
"arviz-darkgrid"
style and I'm getting a constrained layout even when I attempt to disable it viaThe code
The result
The environment
The text was updated successfully, but these errors were encountered: