Skip to content

Commit

Permalink
fix orientation test
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris committed Nov 21, 2018
1 parent adafc64 commit ee9f4b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_axes.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def test_xaxis_tick_orientation(self):

quantity_by_date = data.groupby('date')['quantity'].sum().reset_index()
ch = chartify.Chart(x_axis_type='datetime')
ch.plot.line(df, 'date', 'quantity')
ch.plot.line(quantity_by_date, 'date', 'quantity')
assert ch.figure.xaxis[0].major_label_orientation == 'horizontal'

ch.axes.set_xaxis_tick_orientation('vertical')
Expand Down

0 comments on commit ee9f4b0

Please sign in to comment.