!! That’s awesome, I must have missed the get_label() fun. I guess I just saw the get_xlabel and assumed I was stuck with ust the string!

Thanks!

On Feb 28, 2014, at 3:30 PM, Jake Vanderplas <notifications@github.com> wrote:

> In mplexporter/renderers/plotly/plotly_renderer.py:
> 
> > +            for child in children:
> > +                if isinstance(child, matplotlib.text.Text):
> > +                    if child.get_text() == layout['xaxis{}'.format(self.axis_ct)]['title']:
> > +                        titlefont = {
> > +                            'size': child.get_size()
> > +                        }
> > +                        layout['xaxis{}'.format(self.axis_ct)]['titlefont'] = titlefont
> > +        if layout['yaxis{}'.format(self.axis_ct)]['title'] not in [None, 'None', 'none', '']:
> > +            children = ax.yaxis.get_children()
> > +            for child in children:
> > +                if isinstance(child, matplotlib.text.Text):
> > +                    if child.get_text() == layout['yaxis{}'.format(self.axis_ct)]['title']:
> > +                        titlefont = {
> > +                            'size': child.get_size()
> > +                        }
> > +                        layout['yaxis{}'.format(self.axis_ct)]['titlefont'] = titlefont
> sorry, that should be
> 
> style = utils.get_style(ax.xaxis.get_label())
> —
> Reply to this email directly or view it on GitHub.
>