34 Commits

Author SHA1 Message Date
Daniel Schwabeneder
8b897c3460 implement pie series recipe 2020-04-28 20:48:09 +02:00
Daniel Schwabeneder
f73b281996 extract the recipe pipeline into separate submodule 2020-04-10 16:09:49 +02:00
yha
366d598ff0 Implement plotattributes with defaults. Fixes "-->" in series recipes. 2020-01-29 01:25:04 +02:00
Michael Krabbe Borregaard
2873685517 Replace d -> plotattributes in most files 2018-08-28 10:10:13 +02:00
femtocleaner[bot]
ef29b4a5b0 Fix deprecations 2017-10-17 09:59:09 +00:00
Michael K. Borregaard
66ce38d948 Specified some docstrings 2017-08-18 09:48:36 +02:00
Michael K. Borregaard
f097fb57b5 Fix some deprecation warnings 2017-06-07 23:55:30 +02:00
Oliver Schulz
1188230641 Change histogram implementation, use StatsPlots, add new histogram styles
New series recipes for binned data:

* barbins
* scatterbins
* stepbins

New series recipes for histogram:

* barhist (histogram is now an alias for this)
* scatterhist
* stephist

Supports plotting 1D and 2D StatsBase histograms, seriestype can be set to
bar(bins), scatter(bins) or step(bins).

Also adds support for some common auto-binning modes:

* :sturges, :auto - Sturges' formula
* :sqrt - Square-root choice
* :rice - Rice Rule
* :scott - Scott's normal reference rule
* :fd - Freedman–Diaconis rule

Maybe these could be contributed to StatsBase at some point.

Error bars currently don't work correctly for scatterbins and scatterhist,
due to problem with manipulating error bars in a series recipe, but do work
for "plot(h::StatsBase.Histogram, seriestype = :scatter)" (works around
the problem by calling scatter directly, it seems that error bars can be
manipulated correctly in a type recipe).
2017-05-04 10:02:07 +02:00
Thomas Breloff
755a70bf77 added series_list to Subplot object to improve performance 2016-09-22 19:36:25 -04:00
Thomas Breloff
e3e2a354e7 reorg of update_subplot_args; add back recipe, DataFrames; random type stability fixes 2016-07-10 18:12:49 -04:00
Thomas Breloff
4ea787743e added contourf; getindex for plt/sp; plot/plot! on a Subplot; fix for pyplot zorder 2016-06-29 13:53:22 -04:00
Thomas Breloff
483946787a big GR refactor: axes drawing and cleanup; convert_to_polar and GR polar fill; should_add_to_legend fix; rename get_mod to Base.cycle 2016-06-11 02:03:46 -04:00
Thomas Breloff
088543176f recompute_lengths fix; renamed hist to histogram, hist2d to histogram2d to match methods; fix tests 2016-05-27 15:08:05 -04:00
Thomas Breloff
dae9dad2f7 working on GR; series_list and should_add_to_legend; series recipes fix; hist and bar recipes 2016-05-25 13:06:08 -04:00
Thomas Breloff
41f91f9cfb working on GR rebuild 2016-05-24 18:01:20 -04:00
Thomas Breloff
ef0d99340a backend template renaming/reorg/cleanup, pyplot fixes 2016-05-23 10:29:35 -04:00
Thomas Breloff
3cea2df459 fix get_subplot_index; fix pyplot colorbar 2016-05-19 14:00:39 -04:00
Thomas Breloff
3e8f325ddc reorg/cleanup; removed old layouts and subplots; created axes.jl and layouts.jl 2016-05-19 10:42:59 -04:00
Thomas Breloff
0d96c49f4a layout macro; attr rename; getindex; fixes and cleanup 2016-05-18 23:55:03 -04:00
Thomas Breloff
bfc3fc1dec titles and sub-layouts 2016-05-18 15:53:00 -04:00
Thomas Breloff
327f235af9 working on subplot/axis arg processing 2016-05-18 14:08:44 -04:00
Thomas Breloff
df7fc0c4df fixes; basic layout works 2016-05-17 23:37:47 -04:00
Thomas Breloff
33d9664df5 working on layouts 2016-05-17 21:24:34 -04:00
Thomas Breloff
0d237028e7 redo the bbox logic 2016-05-17 17:41:03 -04:00
Thomas Breloff
80b9115393 fixes 2016-05-17 15:55:54 -04:00
Thomas Breloff
606229a08f trying out measures 2016-05-17 15:45:05 -04:00
Thomas Breloff
2ac17afe30 fixes 2016-05-17 10:33:10 -04:00
Thomas Breloff
3084b0c41c working on arg overhaul 2016-05-17 00:57:42 -04:00
Thomas Breloff
c89e9c5f73 refactored and renamed plot defaults into plot,subplot,axis defaults, plus some associated fixes 2016-05-16 20:57:50 -04:00
Thomas Breloff
61107b8577 working on layout 2016-05-16 17:12:45 -04:00
Thomas Breloff
35ff449dc3 working on layout 2016-05-16 15:56:12 -04:00
Thomas Breloff
ae1f5b8b06 working on layouts 2016-05-16 14:24:45 -04:00
Thomas Breloff
c5bcae1e34 working on subplots 2016-05-16 01:07:33 -04:00
Thomas Breloff
e9ab6e7301 started subplots/layouts 2016-05-15 12:32:10 -04:00