* transfer commit
* extra_kwargs gets populated
* make extra_kwargs a series kw.
* turn extra_kwargs into Dict of Dicts
* pass to pgfplotsx-backend
* add test
* change to dict
* it even works
* cleanup
* undo pgfplots changes
* all of them
* fix tests
* add pgfplotsx tests and special handling of :add
Co-authored-by: Simon Christ <Simon.Christ@mpikg.mpg.de>
Replaces min, max, minimum, mean, maximum and extrema with NaNMath versions in places where NaNs can occur.
To avoid returning NaN when there are NaNs in the Vector
* Also add maximum and minimum
* define _-prefaced versions of mean, maximum, minimum, extrema
* variable arg numbers for Base methods
* Different implementation of the override
* remove underscore from 2-arg versions of maximum
* some forgotten extrema -> _extrema
* Fix bug in _extrema definition
* edit comment
* replace min and max with _min and _max
* Base NaN-compliant functions on NaNMath
replace _min and _max with NaNMath versions
* Use NaNMath explicitly everywhere
* remove unneccesary NaNMath calls
* Ensure ceil does not error on NaN
* Added one more maximum in gr
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).