Skip to content

Commit

Permalink
swap logic
Browse files Browse the repository at this point in the history
  • Loading branch information
ahuang11 committed Aug 7, 2024
1 parent 6e35d58 commit b63d976
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hvplot/tests/testcharts.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,15 +325,15 @@ def test_histogram_subplots_no_shared_axes(self):
plots = self.df.hvplot.hist(subplots=True, shared_axes=False)
plot_0 = plots.grid_items()[0, 0][1]
plot_1 = plots.grid_items()[0, 1][1]
assert not plot_0.opts['axiswise']
assert plot_0.opts['axiswise']
assert plot_0.range('x') == (1, 5)
assert plot_1.range('y') == (2, 6)

def test_histogram_subplots_shared_axes(self):
plots = self.df.hvplot.hist(subplots=True, shared_axes=True)
plot_0 = plots.grid_items()[0, 0][1]
plot_1 = plots.grid_items()[0, 1][1]
assert plot_0.opts['axiswise']
assert not plot_0.opts['axiswise']
assert plot_0.range('x') == (1, 6)
assert plot_1.range('y') == (1, 6)

Expand Down

0 comments on commit b63d976

Please sign in to comment.