Lines Matching refs:bce

23 import bokeh.core.enums as bce # isort:skip  namespace
96 e = bce.Enumeration()
101 e = bce.enumeration("foo", "bar", "baz")
102 assert isinstance(e, bce.Enumeration)
110 e = bce.enumeration("foo", "bar", "baz", case_sensitive=False)
111 assert isinstance(e, bce.Enumeration)
119 e = bce.enumeration("foo", "bar", "baz", quote=True)
120 assert isinstance(e, bce.Enumeration)
129 e = bce.enumeration("foo", "bar", "baz")
133 e = bce.enumeration("foo", "bar", "baz")
139 assert tuple(bce.Anchor) == (
147 assert tuple(bce.AngleUnits) == ("deg", "rad", "grad", "turn")
150 … assert tuple(bce.ButtonType) == ("default", "primary", "success", "warning", "danger", "light")
153 assert tuple(bce.CalendarPosition) == ("auto", "above", "below")
156 assert tuple(bce.DashPattern) ==("solid", "dashed", "dotted", "dotdash", "dashdot")
159 assert tuple(bce.DateFormat) == ("ATOM", "W3C", "RFC-3339", "ISO-8601", "COOKIE", "RFC-822",
163 assert tuple(bce.DatetimeUnits) == ("microseconds", "milliseconds", "seconds", "minsec",
167 assert tuple(bce.Dimension) == ("width", "height")
170 assert tuple(bce.Dimensions) == ("width", "height", "both")
173 assert tuple(bce.Direction) == ("clock", "anticlock")
176 assert tuple(bce.FontStyle) == ('normal', 'italic', 'bold', 'bold italic')
179 assert tuple(bce.HatchPattern) == (
186 …assert tuple(bce.HatchPatternAbbreviation) ==(' ', '.', 'o', '-', '|', '+', '"', ':', '@', '/', '\…
189 assert tuple(bce.HoldPolicy) == ("combine", "collect")
192 assert tuple(bce.HorizontalLocation) == ("left", "right")
195 assert tuple(bce.JitterRandomDistribution) == ("uniform", "normal")
198 assert tuple(bce.LatLon) == ("lat", "lon")
201 assert tuple(bce.LegendClickPolicy) == ("none", "hide", "mute")
204 assert tuple(bce.LegendLocation) == (
212 assert tuple(bce.LineCap) == ("butt", "round", "square")
215 assert tuple(bce.LineDash) == ("solid", "dashed", "dotted", "dotdash", "dashdot")
218 assert tuple(bce.LineJoin) == ("miter", "round", "bevel")
221 assert tuple(bce.Location) == ("above", "below", "left", "right")
224 assert tuple(bce.MapType) == ("satellite", "roadmap", "terrain", "hybrid")
227 …assert tuple(bce.MarkerType) == ("asterisk", "circle", "circle_cross", "circle_dot", "circle_x", "…
233 assert len(tuple(bce.NamedColor)) == 148
234 assert tuple(bce.NamedColor) == tuple(named.__all__)
237 assert tuple(bce.NumeralLanguage) == ("be-nl", "chs", "cs", "da-dk", "de-ch", "de", "en",
243 assert tuple(bce.Orientation) == ("horizontal", "vertical")
246 assert tuple(bce.OutputBackend) == ("canvas", "svg", "webgl")
249 assert tuple(bce.PaddingUnits) == ("percent", "absolute")
252 assert tuple(bce.Palette) == tuple(__palettes__)
255 … assert tuple(bce.RenderLevel) == ("image", "underlay", "glyph", "guide", "annotation", "overlay")
258 assert tuple(bce.RenderMode) == ("canvas", "css")
261 assert tuple(bce.ResetPolicy) == ("standard", "event_only")
264 …assert tuple(bce.RoundingFunction) == ("round", "nearest", "floor", "rounddown", "ceil", "roundup")
267 assert tuple(bce.SelectionMode) == ("replace", "append", "intersect", "subtract")
270 …assert tuple(bce.SizingMode) == ("stretch_width", "stretch_height", "stretch_both", "scale_width",…
273 assert tuple(bce.SortDirection) == ("ascending", "descending")
276 assert tuple(bce.SpatialUnits) == ("screen", "data")
279 assert tuple(bce.StartEnd) == ("start", "end")
282 assert tuple(bce.StepMode) == ("before", "after", "center")
285 assert tuple(bce.TextAlign) == ("left", "right", "center")
288 …assert tuple(bce.TextBaseline) == ("top", "middle", "bottom", "alphabetic", "hanging", "ideographi…
291 assert tuple(bce.TextureRepetition) == ("repeat", "repeat_x", "repeat_y", "no_repeat")
294 assert tuple(bce.TickLabelOrientation) == ("horizontal", "vertical", "parallel", "normal")
297 …assert tuple(bce.TooltipAttachment) == ("horizontal", "vertical", "left", "right", "above", "below…
300 assert tuple(bce.TooltipFieldFormatter) == ("numeral", "datetime", "printf")
303 assert tuple(bce.VerticalAlign) == ("top", "middle", "bottom")
306 assert tuple(bce.VerticalLocation) == ("above", "below")
310 assert [x for x in dir(bce) if x[0].isupper()] == [
375 Test___all__ = verify_all(bce, ALL)