The center of the visualization is taken from the center of the current computational region. Use g.region (or GUI) to change it.
> in top left corner.
{} icon to get the Map Config..py extension.visConfig key because that's
what the style option is using from the file.
The visConfig element content in the style parameter can be
JSON (.json), YAML (.yaml, .yml),
or Python literal (.py, .dict, .pydict).
The file can contain only the visConfig element content,
the whole configuration generated in the web app, or the
visConfig element (key and value).
In any case, only the visConfig element content is processed,
rest is ignored.
The code generated by the underlying Kepler.gl Python package is a Python nested dictionary (dictionaries, lists, and other Python literals). You can format this code using Python tools such as Black and treat it as a Python source code. Alternatively, you can convert it to JSON or YAML depending on your project needs.
The configuration generated from purely JavaScript Kepler.gl page, such as the official website, will be in JSON, so just make sure to distinguish the formats by using the appropriate file extension.
v.out.keplergl input=geology output=geology.html
Available at: v.out.keplergl source code (history)
Main index | Vector index | Topics index | Keywords index | Graphical index | Full index
© 2003-2018 GRASS Development Team, GRASS GIS 7.4.0 Reference Manual