256 Commits

Author SHA1 Message Date
Oliver Schulz
a523903c15 Remove remnant debugging output 2017-05-06 14:58:48 +02:00
Oliver Schulz
56a9389023 Fix log-scale for 1D bar/bin/histogram series types 2017-05-04 10:02:07 +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
ChrisRackauckas
3e7dd9bb77 tone down recipe 2017-04-17 22:15:13 -07:00
ChrisRackauckas
0be0824207 (complex) type recipe 2017-04-16 13:14:12 -07:00
ChrisRackauckas
7def4e8e73 add transformation option 2017-04-16 13:01:51 -07:00
ChrisRackauckas
9a59df793d coloring setup 2017-04-15 17:00:00 -07:00
ChrisRackauckas
1852ba99b3 force real x 2017-04-15 13:16:40 -07:00
ChrisRackauckas
0d665c661f complex recipe 2017-04-15 13:14:14 -07:00
Daniel Schwabeneder
034a1af649 restore bar_width behavior for date x axis 2017-03-29 23:20:30 +02:00
Daniel Schwabeneder
f2235abf08 Added logic to choose *round* DateTime tick positions 2017-03-06 23:52:59 +01:00
Michael K. Borregaard
7e41a2f40d sort colors 2017-03-01 22:18:34 +01:00
Michael K. Borregaard
1b468ba5d8 fix gr.text on showgradient 2017-02-28 12:35:08 +01:00
Michael K. Borregaard
cad96e652f fix error on gr 2017-02-27 22:45:14 +01:00
Michael K. Borregaard
f7de9fbea4 Merge branch 'JuliaPlots/master' into showlibrary 2017-02-27 21:48:33 +01:00
Michael K. Borregaard
24c27737c1 fix uneven bins 2017-02-26 08:32:52 +01:00
Michael K. Borregaard
b7536f129b Revert "replaced boxes with symmetrical squares"
This reverts commit 28b026c9adebfbca231fc310eabb71e3c4aab7ee.
2017-02-22 11:52:54 +01:00
Michael K. Borregaard
28b026c9ad replaced boxes with symmetrical squares 2017-02-22 11:49:31 +01:00
Michael K. Borregaard
d4b7bfbe1d Added a recipe to show a single gradient 2017-02-22 11:48:37 +01:00
Michael K. Borregaard
4b2ce036e8 change numbers 2017-02-21 22:49:15 +01:00
Michael K. Borregaard
2a350df5eb plot recipe to show color libraries 2017-02-21 22:44:32 +01:00
Thomas Breloff
07731614a9 fix ComplexPlot; closes #598 2016-12-02 20:37:35 -05:00
Pietro Vertechi
62280fb24b Modified error_coords to allow errorbars in plots with categorical x-axis 2016-11-26 01:49:48 +00:00
Thomas Breloff
75f1cf8cbb complexplot; Arrow side; gr arrows 2016-11-02 14:00:03 -04:00
Thomas Breloff
d136977fc4 fix date/datetime 2016-10-12 13:25:19 -04:00
Thomas Breloff
b9dea42be6 fix Date recipe; closes #529 2016-10-10 07:02:10 -04:00
Thomas Breloff
ae608d4d78 staged date fix, still not working 2016-10-10 01:08:29 -04:00
Thomas Breloff
5e8c88d657 spy recipes 2016-10-09 00:52:53 -04:00
Thomas Breloff
96821f6303 remove spy; support spy seriestype in unicodeplots; recipes cleanup 2016-10-08 22:39:49 -04:00
Thomas Breloff
a4c25321d8 histogram2d puts NaN for 0 count; fix pyplot NaNs in heatmap; change default markersize to 4 2016-10-07 11:33:02 -04:00
Thomas Breloff
24a4c31f0d widen bar plots; improve ggplot2 theme 2016-09-29 16:14:46 -04:00
Thomas Breloff
03a9fc3419 is_supported refactor; removed deprecated backends 2016-09-06 14:01:39 -04:00
Maxim Grechkin
428fbb9cb9 add DateTime recepie 2016-08-19 12:43:30 -07:00
Thomas Breloff
8d7c4cd108 type recipe for Dates; closes #451 2016-08-18 17:33:26 -04:00
Thomas Breloff
99f608defb bar fix: reset orientation; layout fixes 2016-08-18 17:33:26 -04:00
Thomas Breloff
f8fddb49e2 fix for sticks default fillrange for log scale; closes #435 2016-08-09 16:38:32 -04:00
Thomas Breloff
705dbf60fa removed compat; added series update methods 2016-07-20 15:15:40 -04:00
Thomas Breloff
3ccd1bc368 added Showoff dependency; fix PLOTS_DEFAULTS; fix auto fill to 0; fix scale warning; tick labels with Showoff; fontsize in GR; travis deps 2016-07-18 15:00:02 -04:00
Thomas Breloff
4a2e88a81c switched Colors dep for PlotUtils dep; removed DataFrames, boxplot, violin, density and added StatPlots to tests 2016-07-12 10:45:58 -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
32c1c31139 working on _plot organization; switch alias dicts to Dict{Symbol,Symbol}; other type stability changes 2016-07-10 15:50:29 -04:00
Thomas Breloff
1cb0c0071b improvements to layout padding; handle axis attr better; fix histogram2d 2016-07-09 12:40:27 -04:00
Thomas Breloff
a456ac4c90 pyplot line segments fixes; curves remove line_z logic 2016-07-08 14:36:02 -04:00
Thomas Breloff
71b48427c5 pyplot line segments fix; bar fixes 2016-07-08 13:09:36 -04:00
Thomas Breloff
e53ab85745 color fixes; pyplot shape iteration; KernelDensity in travis and warning; attribute accessors 2016-07-07 21:46:34 -04:00
Thomas Breloff
4d99b37def working on colors overhaul; fix for rationals in plotly; closes #382 2016-07-07 14:40:09 -04:00
Thomas Breloff
aec162c50e fix for discrete bars; closes #365 2016-07-06 16:22:11 -04:00
Thomas Breloff
d5e9340f8f bar fix for horizontal orientation 2016-07-06 16:10:01 -04:00
Thomas Breloff
6fe87c4c69 bar_width support in bar and boxplot; close the shape for bar plots; closes #366; closes #377 2016-07-06 15:55:38 -04:00
Thomas Breloff
853f85be2e bug fix for passing vectors to bins; closes #375 2016-07-05 10:18:48 -04:00