Commit Graph

35 Commits

Author SHA1 Message Date
623746d5ea Do not store the figure as an attribute to be able to show the same figure multiple times 2016-03-25 18:59:15 +01:00
bc38a97025 Refactor 2016-03-18 20:45:40 +01:00
e424b049ba Start to work on animations and use tight_layout() 2016-03-18 15:15:56 +01:00
a5b8c447a8 Rework README.md 2016-03-11 17:30:53 +01:00
c80f3a4fac Implement axes swapping and rotation 2016-03-11 17:04:14 +01:00
a736d41069 Enable the use of orthonormal axis.
Also move the `_render` method to the public API and add `xlim` and
`ylim` extra keywords arguments.

Closes https://github.com/Phyks/replot/issues/16.
2016-03-10 18:02:56 +01:00
3ec424081f Closes https://github.com/Phyks/replot/issues/15 2016-03-09 14:58:53 +01:00
af29496245 Better colorscheme
Use Cubehelix perceptual rainbow colorscheme, which degrades nicely when
desaturated, with the correct number of elements.

See
http://www.ifweassume.com/2013/05/cubehelix-or-how-i-learned-to-love.html.

Closes https://github.com/Phyks/replot/issues/8.
2016-03-09 14:50:30 +01:00
09ea785806 Add logplot and loglogplot methods. Closes https://github.com/Phyks/replot/issues/14 2016-03-09 11:46:35 +01:00
264253ed3e Closes https://github.com/Phyks/replot/issues/9
List of tuples input is now considered as being a list of (X, Y)
coordinates contrary to standard matplotlib API which considers it is a
list of ordinates for two graphs.
2016-03-09 11:23:32 +01:00
33f381dd3e Add a custom 'line' parameter to plot points. 2016-03-09 10:56:19 +01:00
e0ed43ca9e Drop seaborn dependency 2016-03-08 17:12:02 +01:00
7941c91b27 Close issue https://github.com/Phyks/replot/issues/10 2016-03-04 17:57:25 +01:00
bdbac369c1 Fix issue https://github.com/Phyks/replot/issues/12 2016-03-04 16:20:47 +01:00
30edf021b6 Allow set_grid with a single string if there is a single row description 2016-03-04 11:58:08 +01:00
e417a41c6b Rework grid API according to https://github.com/Phyks/replot/issues/10 2016-03-04 11:32:14 +01:00
d82848fb54 Explain better ignore_groups 2016-03-04 10:15:18 +01:00
c1292c5624 Better doc in the examples notebook 2016-03-03 20:32:54 +01:00
4a0b27d4a1 Improve doc + gridify
Add an `ignore_groups` option to gridify to organize automatically the
plots in different subgroups.
2016-03-03 18:09:47 +01:00
2ef75513ed Handle subplots. Close issue https://github.com/Phyks/replot/issues/5 2016-03-03 17:41:30 +01:00
dfeed6f526 Better documentation jupyter notebook 2016-03-03 15:35:44 +01:00
a91da5e77b Add a save method + bugfixes
* Add a `save` method to save images, and a `savepath` argument.
* Fix a bug with legend, due to the introduction of plot groups.
* Continue work on `gridify` method, still WIP.
2016-03-03 12:12:30 +01:00
2067e2008f Fix some bugs
* Fix a bug ``NoneType`` is not iterable due to custom kwargs.
* No longer attempt to plot the figure when exiting due to an exception.

Started to implement the grid layout.
2016-03-02 17:59:52 +01:00
809044c698 Handle groups of plots
But no difference between grouped plots and ungrouped plots at the
moment.
2016-03-02 17:40:39 +01:00
56a44d6f1b Use adaptive plotting 2016-03-02 16:14:50 +01:00
b59cf7aacc Better handling of matplotlib rc settings. 2016-03-02 14:24:09 +01:00
fa104cf48f Add some doc 2016-03-02 14:04:28 +01:00
94b3cb53c4 Finish one-liner plot
Fix https://github.com/Phyks/replot/issues/1.
2016-03-01 17:38:10 +01:00
9689f4e45a Fix https://github.com/Phyks/replot/issues/2 2016-03-01 17:14:56 +01:00
c380397000 Add a setup.py file 2016-03-01 16:47:34 +01:00
ebdb2369a5 Implement API described in https://github.com/Phyks/replot/issues/1#issuecomment-190751003 2016-03-01 15:48:36 +01:00
8feef79004 Use seaborn.apionly instead of seaborn 2016-03-01 15:47:38 +01:00
d67d185f86 Suppress warning (and legend) if legend is required but no labels are
given.

Also start to implement a basic one-liner plot function, API still in
WIP.
2016-03-01 15:34:11 +01:00
81bb851e10 Better handling of legend
Automatically add a legend to the graph if labelled data is found,
except if user explicitly disabled the legend.
2016-03-01 15:12:59 +01:00
b3f2b03e8f Initial commit 2016-03-01 14:51:25 +01:00