altair.theme.ViewConfigKwds#
- class altair.theme.ViewConfigKwds#
 altair.ViewConfigTypedDictwrapper.- Parameters:
 - clip
 Whether the view should be clipped.
- continuousHeight
 The default height when the plot has a continuous y-field for x or latitude, or has arc marks.
Default value:
200- continuousWidth
 The default width when the plot has a continuous field for x or longitude, or has arc marks.
Default value:
200- cornerRadius
 The radius in pixels of rounded rectangles or arcs’ corners.
Default value:
0- cursor
 The mouse cursor used over the view. Any valid CSS cursor type can be used.
- discreteHeight
 The default height when the plot has non arc marks and either a discrete y-field or no y-field. The height can be either a number indicating a fixed height or an object in the form of
{step: number}defining the height per discrete step.Default value: a step size based on
config.view.step.- discreteWidth
 The default width when the plot has non-arc marks and either a discrete x-field or no x-field. The width can be either a number indicating a fixed width or an object in the form of
{step: number}defining the width per discrete step.Default value: a step size based on
config.view.step.- fill
 The fill color.
Default value:
undefined- fillOpacity
 The fill opacity (value between [0,1]).
Default value:
1- opacity
 The overall opacity (value between [0,1]).
Default value:
0.7for non-aggregate plots withpoint,tick,circle, orsquaremarks or layeredbarcharts and1otherwise.- step
 Default step size for x-/y- discrete fields.
- stroke
 The stroke color.
Default value:
"#ddd"- strokeCap
 The stroke cap for line ending style. One of
"butt","round", or"square".Default value:
"butt"- strokeDash
 An array of alternating stroke, space lengths for creating dashed or dotted lines.
- strokeDashOffset
 The offset (in pixels) into which to begin drawing with the stroke dash array.
- strokeJoin
 The stroke line join method. One of
"miter","round"or"bevel".Default value:
"miter"- strokeMiterLimit
 The miter limit at which to bevel a line join.
- strokeOpacity
 The stroke opacity (value between [0,1]).
Default value:
1- strokeWidth
 The stroke width, in pixels.
- __init__(*args, **kwargs)#
 
Methods
__init__(*args, **kwargs)clear()copy()fromkeys(iterable[, value])Create a new dictionary with keys from iterable and values set to value.
get(key[, default])Return the value for key if key is in the dictionary, else default.
items()keys()pop(key[, default])If the key is not found, return the default if given; otherwise, raise a KeyError.
popitem(/)Remove and return a (key, value) pair as a 2-tuple.
setdefault(key[, default])Insert key with a value of default if key is not in the dictionary.
update([E, ]**F)If E is present and has a .keys() method, then does: for k in E: D[k] = E[k] If E is present and lacks a .keys() method, then does: for k, v in E: D[k] = v In either case, this is followed by: for k in F: D[k] = F[k]
values()Attributes
clipcontinuousHeightcontinuousWidthcornerRadiuscursordiscreteHeightdiscreteWidthfillfillOpacityopacitystepstrokestrokeCapstrokeDashstrokeDashOffsetstrokeJoinstrokeMiterLimitstrokeOpacitystrokeWidth