pd.plot
Type members
Classlikes
Layer for view compositions such as "layer", "concat, "hconcat" and "vconcat".
Layer for view compositions such as "layer", "concat, "hconcat" and "vconcat".
- Value Params
- cfg
Plotting configuration.
- Since
0.1.0
- Companion
- object
Layer for view compositions such as "layer", "concat, "hconcat" and "vconcat".
Layer for view compositions such as "layer", "concat, "hconcat" and "vconcat".
- Since
0.1.0
- Companion
- class
Plotting engine based on Vega-Lite (https://vega.github.io/vega-lite/). Required DataFrame columns are automatically encoded and embedded.
Plotting engine based on Vega-Lite (https://vega.github.io/vega-lite/). Required DataFrame columns are automatically encoded and embedded.
The syntax keeps 1:1 to the Vega-Lite JSON grammar https://vega.github.io/vega-lite/docs/ with a few adaptions:
- Top level specifications are added via methods (e.g.
.title(...)). - The mark definition is on top level (e.g.
.bar(...)) rather than part of amarkdefinition. - The encoding channel definitions are on top level (e.g.
.color(...)) rather than part ofencoding.
Top level definitions usually contain named parameters with following data types:
- Number (
Int,Float,Double), String,Struct, a complex struct-like object with one or more properties (of any type listed here),Seq[T], a sequence (list) where the inner typeTis one of the types above,null.
Due to the reserved keyword type in Scala the following parameter name replacements were made:
- Please use
aswhere the JSON element is namedtype(e.g. in encodings and projection). - Please use
setwhere the JSON element is namedas(e.g. in transform).
- See also
- https://pan-data.org/scala/basics/plotting-a-dataframe.html for a basic introduction
- https://pan-data.org/scala/plotting/index.html for more details
- Since
0.1.0
- Companion
- object
Plotting engine based on Vega-Lite.
Plotting engine based on Vega-Lite.
- Since
0.1.0
- Companion
- class
Dynamical data structure represented in JSON format.
Dynamical data structure represented in JSON format.
- Value Params
- json
String JSON representation.
- See also
- Since
0.1.0
- Example
val struct = Struct(title = "apple", quantity = 3, edible=true, color=["green", "red", "green"])- Companion
- object
Value members
Concrete fields
Qualifier for nominal data, also known as categorical data, differentiates between values based only on their names or categories.
Qualifier for nominal data, also known as categorical data, differentiates between values based only on their names or categories.
- Since
0.1.0
Qualifier for ordinal data represents ranked order (1st, 2nd, etc.) by which the data can be sorted.
Qualifier for ordinal data represents ranked order (1st, 2nd, etc.) by which the data can be sorted.
- Since
0.1.0
Qualifier for quantitative data expresses some kind of quantity, typically numerical data.
Qualifier for quantitative data expresses some kind of quantity, typically numerical data.
- Since
0.1.0