Oliver Schulz
19a9726e61
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-03-01 14:24:00 +01:00
Michael K. Borregaard
24c27737c1
fix uneven bins
2017-02-26 08:32:52 +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
Thomas Breloff
bf94c48225
pyplot fix; new flexible logic for DataFrames
2016-06-29 16:22:16 -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
3006a26500
revert precompile; add appveyor; gr fixes for markersize, shapes, and legend entries; add GR to tests again; recipe fixes and cleanup
2016-06-27 21:43:57 -04:00
Thomas Breloff
78e0ae31af
removed chorddiagram
2016-06-26 12:37:06 -04:00
Thomas Breloff
1a90ce0950
recoded boxplot recipe to match violin approach; switched marker to line/fill for shape seriestype: ref #347
2016-06-26 11:36:09 -04:00
Thomas Breloff
1a2e180f4f
working on glvisualize
2016-06-25 17:00:45 -04:00
Thomas Breloff
73ffcb9bc1
changed convertToAnyVector AMat so that all matrices use the version previously for numbers; violin cleanup
2016-06-22 13:20:09 -04:00
Thomas Breloff
730025e144
recoded violin; removed try/catch around apply_recipe; default values for xtick/ytick in GR
2016-06-22 11:45:30 -04:00
Thomas Breloff
f881bfc4fc
add Segments; pyplot: switch bar/hist/hist2d to recipes and path fix; change bar to shape; removed GR from tests
2016-06-20 23:11:23 -04:00
Thomas Breloff
ea8ccf38db
plot recipe fixes
2016-06-18 22:30:47 -04:00
Thomas Breloff
b7a95244db
handle seriestype aliases; handle vector of seriestypes; hvline_limits; added cycle for InputWrapper; turn on GR tests for OSX
2016-06-18 00:14:20 -04:00
Thomas Breloff
e9eca577aa
plotlyjs supported_scales; violin check
2016-06-17 15:31:01 -04:00
Thomas Breloff
b0bc68ae8a
orientation aliases dir/direction; removed native support for sticks/hline/vline in pyplot; commented out arcdiagram
2016-06-16 17:31:10 -04:00
Thomas Breloff
a5ddebf44d
curves fix
2016-06-15 13:02:31 -04:00
Thomas Breloff
38804898c5
iter_segments and curve series type
2016-06-15 12:52:36 -04:00
Thomas Breloff
1ba0d198a7
rename ellipse to circle; cleanup glvisualize
2016-06-13 15:59:51 -04:00
Thomas Breloff
a018a2c07a
series type dependencies and cleanup; bbox anchors in construction; fix for insets
2016-06-13 14:53:28 -04:00
Thomas Breloff
02d893b316
big cleanup: changed camelcase to underscores; removed supportedAxes; changed pyplot methods to be py_ which matches gr_/plotly_/etc convention
2016-06-12 12:34:41 -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