make imports relative
Merge pull request #7 from theengineear/plotly

Plolty's got: docstrings, updated draw_text for 'text_type' option, fixed conflicts
Margins are no longer just set to zero. Domains adjusted.

The bbox for mpl domains is in figure coordinates. Plotly's plotting
area should have a domain of [0,1] for x and y directions. The bbox for
incoming mpl plots are scaled by the maximum and minimum locations of
any of the subplots in the figure. That is, mpl_x_min is mapped to 0,
mpl_x_max is mapped to 1, mpl_y_min is mapped to 0, and mpl_y_max is
mapped to 1.
Added test annotations IPython notebook.

There is a bug in this, notice that the subplot on the top axis object
doesn't render properly in plotly. The subplot titles are imported here
as 'paper'-referenced annotations.

Can anyone figure out why the y-coordinate is too small?
Added 'scale' to axis properties, 'props', dictionary.

The 'scale' parameter will be 'linear' or 'log'.
Added 'fontsize' to axis properties.

Added a few lines to grab the tick font size. You might want to change
the name of this dictionary key to be something else. I left it as
'fontsize' because that's what mpl calls it! The real confusion is that
it's in the axis dict, but should not be confused with the axis label
size. You might consider changing it to 'ticksize' or something later
on?

The lines simply make a list of the font sizes for the ticks and checks
to see that they all match. I'm sure it's not 100% bug-free, i.e., if
the font size entires aren't numbers (None, '', 'none', etc.). However,
if they're not all the same it returns a None value.

As a side note, I really like being able to assume an exporter value is
either a valid entry or None. I think this format should be continued.
Added horizontal and vertical alignment to non-'data' text objects.

Plotly now allows users to specify the anchor for each annotation in a
plot. This means that it can use the horizontal and vertical alignments
stored in mpl figures to better re-create mpl plots.

A simple conversion function translates mpl alignment words to plotly
alignment words (most of them are the same). See
plotly_utils.convert_alignment.

Currently, text objects that are anchored to x,y data are allowed to be
'auto' anchored in plotly. This is to allow annotation arrows to show up
appropriately when using the site after a fig_to_plotly call. This will
be changed soon.
Merge branch 'plotly_domains' into plotly
Merge branch 'plotly' into ipynb
Merge pull request #8 from theengineear/add_scale

Added 'scale' to axis properties, 'props', dictionary.
Updated Annotations notebook.
Changed format for acquiring props['fontsize'] for x/y axis objects.

As per our messages on GitHub.
Added new Plotly notebook which includes the removed Annotations file.

The plotly notebook is now set up to be added on to each time a new
feature is added to the PlotlyRenderer.
Stopped tracking the old PlotlyTest notebook.
Merge branch 'master' into plotly
Annotations anchored to data are set to be 'center' for va and ha.

Where va is vertical alignment and ha is horizontal alignment.
Merge pull request #9 from theengineear/add_fontsize

Add fontsize
Updated Plotly.ipynb file to look and smell much nicer.

The Plotly notebook is currently setup to be added onto as new
developments occur, this way, all of the developments from the
mplexporter project on the plotly side are confined to a single
notebook.
Test run for better font for notebook code.
Reverted style test.