Skip to content

Commit

Permalink
[Doc] Indicate that CompositeMarkDef can be used in addition to MarkD…
Browse files Browse the repository at this point in the history
…ef (#3266)

* [Doc] Update mark hint about CompositeMarkDef

* fix language

* Update docsstring and standardize formatting

* Revert back to single backtick for consistency

---------

Co-authored-by: Joel Ostblom <[email protected]>
  • Loading branch information
ChiaLingWeng and joelostblom authored Mar 16, 2024
1 parent 2a6d792 commit aa9c934
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions altair/vegalite/v5/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -2830,9 +2830,10 @@ class Chart(
data : Data
An object describing the data source
mark : AnyMark
A string describing the mark type (one of `"bar"`, `"circle"`, `"square"`, `"tick"`,
`"line"`, * `"area"`, `"point"`, `"rule"`, `"geoshape"`, and `"text"`) or a
MarkDef object.
A `MarkDef` or `CompositeMarkDef` object, or a string describing the mark type
(one of `"arc"`, `"area"`, `"bar"`, `"circle"`, `"geoshape"`, `"image"`,
`"line"`, `"point"`, `"rule"`, `"rect"`, `"square"`, `"text"`, `"tick"`,
`"trail"`, `"boxplot"`, `"errorband"`, and `"errorbar"`).
encoding : FacetedEncoding
A key-value mapping between encoding channels and definition of fields.
autosize : anyOf(AutosizeType, AutoSizeParams)
Expand Down

0 comments on commit aa9c934

Please sign in to comment.