Skip to content

Commit

Permalink
Only readjust adjoined layouts if there are adjoined plots
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Jan 7, 2017
1 parent 1a4e9d6 commit f9f70c1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion holoviews/plotting/mpl/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -1043,7 +1043,8 @@ def initialize_plot(self):
cbar_plot._draw_colorbar(redraw=False)
adjoined = self.traverse(specs=[AdjointLayoutPlot])
for adjoined in adjoined:
adjoined.adjust_positions(redraw=False)
if len(adjoined.subplots) > 1:
adjoined.adjust_positions(redraw=False)
return self._finalize_axis(None)


Expand Down

0 comments on commit f9f70c1

Please sign in to comment.