PC`_      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^ None9;<=?Used to style a chart. Api facing color selection.Conversion from Amby Api Color to underlying _ type.' `abcdefg     `abcdefgNone/9:;T[hTake from the Chart" package with minor modifications.ijkhlmnjhijkhlmn(C) 2016 Justin SermenoBSD3Justin SermenoNone: contDistrDomain d n generates a domain of n7 evenly spaced points for the continuous distribution d.!contDistrRange d xs9 generates the pdf value of the continious distribution d for each value in xs."linspace s e n generates n evenly spaced values between [s, e].# arange s e i generates numbers between [s, e] spaced by amount i. #K is the equivalent of haskell's range notation except that it generates a Vector_. As a result, the last element may be greater than less than, or greater than the stop point.$[Generates an unboxed vectors of random numbers from a distribution that is an instance of o;. This function is meant for ease of use and is expensive.%scoreAtPercentile xs p$ calculates the score at percentile p. Examples:let a = arange 0 99 1scoreAtPercentile a 5049.5&"Calculate the interquartile range. Examples:interquartileRange demoData2.5'!Estimate a good default bin size. Examples:freedmanDiaconisBins demoData2 !"#$%&'p !"#$%&' !"#$%&'pNoneq''binBounds a b n' generates bounds for n bins spaced linearly between a and b Examples:binBounds 0 3 4-[(0.0,0.75),(0.75,1.5),(1.5,2.25),(2.25,3.0)]r='histValues a b n vs' returns the bins for the histogram of vs on the range from a to b with n binssF'histValues a b n vs' returns the bins for the weighted histogram of vs on the range from a to b with n binst;'histWithBins bins xs' is the histogram of weighted values xs with bins Examples::{ histWithBinsE (V.fromList [(0.0, 0.75), (0.75, 1.5), (1.5, 2.25), (2.25, 3.0)])< [(1, 0), (1, 0), (1, 1), (1, 2), (1, 2), (1, 2), (1, 3)]:}=[((0.0,0.75),2),((0.75,1.5),1),((1.5,2.25),3),((2.25,3.0),1)]uqrstuqrstuqrstNone9;v Plot titlewNumber of binsxValues to histogramy_Don't attempt to plot bins with zero counts. Useful when the y-axis is logarithmically scaled.z(Override the range of the histogram. If Nothing the range of _plot_hist_values is used.}Note that any normalization is always computed over the full data set, including samples not falling in the histogram range.{ Plot vertical lines between bins|Fill style of the bins}Line style of the bin outlines~Normalization function&If true observed values are one y-axis:The default style is an unnormalized histogram of 20 bins.defaultPlotHist but with real countsdefaultPlotHist@ but normalized such that the integral of the histogram is one. Convert a PlotHist to a Plot)N.B. In principle this should be Chart's ToPlot| class but unfortunately this does not allow us to set bounds on the x and y axis types, hence the need for this function.#vwxyz{|}~vwxyz{|}~ vwxyz{|}~None 9:;<=?DRw()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXY2()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXY2()*+,-./0123456789:;<=>?@ABCD EFGHIJKLMNOPQRSTUVWXYNone -9:;<=DRT\]DQuick render. Short-hand to render to png file using Cairo backend.^/Short-hand to render to svg using Cairo backendZ[\]^Z[\]^Z[\]^ None9;T\None-9:;<=_     !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_  !"#$%&'DEFGHIJKLMNOBPSVWXYTQRU0:85(/23A)*+,-.?;76=49@C<>1\]^Z[    !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~3:=>LM !amby-0.3.1-LIKXuzgbJOxJ7YsDpyIaDkAmby Amby.Theme Amby.Style Amby.Numeric#Amby.Compatibility.HistogramNumeric Amby.Compatibility.HistogramPlot Amby.Types Amby.Plot Amby.Display"lens-4.15.1-GIqMfFkWZyYIqq1QNYTt5ZControl.Lens.Setter.=Theme _themeBgColor_themePlotBgColor_themeGridLineColor_themeFontFamily_themeFontSize_themeColorCycle AmbyColor DefaultColorRGBCMYKW CustomColor plotBgColor gridLineColorfontSize fontFamily colorCyclebgColor mutedTheme deepTheme cleanThemehexToRgb hexToRgbatoColourcontDistrDomaincontDistrRangelinspacearangerandomscoreAtPercentileinterquartileRangefreedmanDiaconisBinsPlotOpts BandwidthScottBwScalarAxisXAxisYAxis PlotEqOpts linewidthcolor DistPlotOpts KdePlotOptsshade rugLinewidth rugHeightrug kdeLinewidthkde histLinewidthhistgridsizecutbwbinsaxis RugPlotOpts AmbyStateheight AmbyContainerValueplotplot'plotEqplotEq'distPlot distPlot'kdePlotkdePlot'rugPlotrugPlot' AmbyChart getLayoutgetSize takeTheme takeLayout putLayoutthemexlimylimsize cairoDefSavediagramsDefSavegetECsavesaveSvg#colour-2.3.3-1clKnMqHWhQAElTFd8YdypData.Colour.InternalColourHasPlotBgColorHasGridLineColor HasFontSize HasFontFamily HasColorCycle HasBgColor$fDefaultTheme $fHasPlotBgColorThemeAlphaColourscaledAxisCustomcountAfterDecimalsetThemeStyles roundAxisDatasteps chooseStepmakeAxisCustom'*statistics-0.13.3.0-KyNuKvUzO9rAhRzx4Pjd02Statistics.DistributionContGenmodErr binBounds histValueshistWeightedValues histWithBinsRange_plot_hist_title_plot_hist_bins_plot_hist_values_plot_hist_no_zeros_plot_hist_range_plot_hist_drop_lines_plot_hist_fill_style_plot_hist_line_style_plot_hist_norm_func_plot_hist_verticaldefaultPlotHistdefaultFloatPlotHistdefaultNormedPlotHist histToPlotPlotHistdefaultFillStyledefaultLineStyle buildHistPathbuildHistPathVerticalrenderPlotHistrenderPlotLegendHist histToBins realHistRange$fDefaultPlotHistplot_hist_binsplot_hist_drop_linesplot_hist_fill_styleplot_hist_line_styleplot_hist_no_zerosplot_hist_norm_funcplot_hist_rangeplot_hist_titleplot_hist_valuesplot_hist_vertical_plotOptsColor_plotOptsLinewidth_plotEqOptsColor_plotEqOptsLinewidth HasLinewidthHasColor$fHasLinewidthPlotOptsDouble_distPlotOptsRug_distPlotOptsKde_distPlotOptsHist_distPlotOptsColor_distPlotOptsHistLinewidth_distPlotOptsBins_distPlotOptsShade_distPlotOptsBw_distPlotOptsCut_distPlotOptsAxis_distPlotOptsGridsize_distPlotOptsKdeLinewidth_distPlotOptsRugHeight_distPlotOptsRugLinewidth$fHasLinewidthPlotEqOptsDouble_kdePlotOptsShade_kdePlotOptsBw_kdePlotOptsAxis_kdePlotOptsGridsize_kdePlotOptsColor_kdePlotOptsLinewidth_kdePlotOptsCutHasShadeHasRugLinewidth HasRugHeightHasRugHasKdeLinewidthHasKdeHasHistLinewidthHasHist HasGridsizeHasCutHasBwHasBinsHasAxis$fHasShadeDistPlotOptsBool_rugPlotOptsHeight_rugPlotOptsAxis_rugPlotOptsColor_rugPlotOptsLinewidth$fHasShadeKdePlotOptsBool _asThemeState_asLayoutState_asSize HasHeight$fHasLinewidthRugPlotOptsDouble asLayoutStateasSize asThemeState$fDefaultRugPlotOpts$fDefaultKdePlotOpts$fDefaultDistPlotOpts$fDefaultPlotEqOpts$fDefaultPlotOpts$fDefaultAmbyStateplotVecplotVec' plotEqVec plotEqVec' distPlotVec distPlotVec' kdePlotVec kdePlotVec' rugPlotVec rugPlotVec'plotDistributionplotListplotHistplotRugplotKdeplotLine plotShadegetState$fAmbyContainer[]$fAmbyContainerVector$fAmbyContainerVector0saveAndDisplaysaveAndDisplayECsaveAndDisplayIO$fDisplayStateT$fDisplayStateT0