Skip to content

Commit

Permalink
Small bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Feb 27, 2017
1 parent 4420fd4 commit ae33097
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion holoviews/plotting/bokeh/element.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ def _title_properties(self, key, plot, element):
opts = dict(text=title, text_color='black')
title_font = self._fontsize('title').get('fontsize')
if title_font:
opts['title_text_font_size'] = value(title_font)
opts['text_font_size'] = value(title_font)
return opts

def _init_axes(self, plot):
Expand Down
6 changes: 3 additions & 3 deletions holoviews/plotting/mpl/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -453,9 +453,9 @@ def _layout_axis(self, layout, axis):
layout_axis.set_position(self.position)
layout_axis.patch.set_visible(False)

for ax, ax_obj in zip('xy', [layout_axis.xaxis, layout_axis.yaxis]):
tick_fontsize = self._fontsize('%ticks' % ax,'labelsize',common=False)
if tick_fontsize: ax_obj.tick_params(**tick_fontsize)
for ax, ax_obj in zip(['x', 'y'], [layout_axis.xaxis, layout_axis.yaxis]):
tick_fontsize = self._fontsize('%ticks' % ax,'labelsize', common=False)
if tick_fontsize: ax_obj.set_tick_params(**tick_fontsize)

# Set labels
layout_axis.set_xlabel(str(layout.kdims[0]),
Expand Down

0 comments on commit ae33097

Please sign in to comment.