Skip to content

Commit

Permalink
Remove tight_layout (#619)
Browse files Browse the repository at this point in the history
* Remove tight_layout

Fixes #608

* Forgot black formatting

* Fix pylint
  • Loading branch information
OriolAbril authored and canyon289 committed Mar 19, 2019
1 parent 6317c2a commit 681a3bc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions arviz/plots/densityplot.py
Expand Up @@ -181,7 +181,7 @@ def plot_density(
figsize, textsize, rows, cols
)

fig, ax = _create_axes_grid(length_plotters, rows, cols, figsize=figsize, squeeze=False)
_, ax = _create_axes_grid(length_plotters, rows, cols, figsize=figsize, squeeze=False)

axis_map = {label: ax_ for label, ax_ in zip(all_labels, ax.flatten())}
for m_idx, plotters in enumerate(to_plot):
Expand Down Expand Up @@ -209,8 +209,6 @@ def plot_density(
ax[0].plot([], label=label, c=colors[m_idx], markersize=markersize)
ax[0].legend(fontsize=xt_labelsize)

fig.tight_layout()

return ax


Expand Down

0 comments on commit 681a3bc

Please sign in to comment.