Skip to content

Commit

Permalink
Updated bokeh unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Feb 13, 2018
1 parent 0ea382f commit b1ec784
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/testplotinstantiation.py
Original file line number Diff line number Diff line change
Expand Up @@ -1388,21 +1388,21 @@ def test_curve_fontsize_xlabel(self):
curve = Curve(range(10)).opts(plot=dict(fontsize={'xlabel': '14pt'}))
plot = bokeh_renderer.get_plot(curve)
self.assertEqual(plot.handles['xaxis'].axis_label_text_font_size,
{'value': '14pt'})
'14pt')

def test_curve_fontsize_ylabel(self):
curve = Curve(range(10)).opts(plot=dict(fontsize={'ylabel': '14pt'}))
plot = bokeh_renderer.get_plot(curve)
self.assertEqual(plot.handles['yaxis'].axis_label_text_font_size,
{'value': '14pt'})
'14pt')

def test_curve_fontsize_both_labels(self):
curve = Curve(range(10)).opts(plot=dict(fontsize={'labels': '14pt'}))
plot = bokeh_renderer.get_plot(curve)
self.assertEqual(plot.handles['xaxis'].axis_label_text_font_size,
{'value': '14pt'})
'14pt')
self.assertEqual(plot.handles['yaxis'].axis_label_text_font_size,
{'value': '14pt'})
'14pt')

def test_curve_fontsize_xticks(self):
curve = Curve(range(10)).opts(plot=dict(fontsize={'xticks': '14pt'}))
Expand Down

0 comments on commit b1ec784

Please sign in to comment.