mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-09 09:46:31 +00:00
Update cheatsheets
This commit is contained in:
21
datashader_cli
Normal file
21
datashader_cli
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# datashader_cli
|
||||
|
||||
> Quick visualization of large datasets using CLI based on datashader.
|
||||
> More information: <https://github.com/wybert/datashader-cli>.
|
||||
|
||||
- Create a shaded scatter plot of points and save it to a png file and set the background color:
|
||||
|
||||
`datashader_cli points {{path/to/input.parquet}} --x {{pickup_x}} --y {{pickup_y}} {{path/to/output.png}} --background {{black|white|#rrggbb}}`
|
||||
|
||||
- Visualize the geospatial data (supports Geoparquet, shapefile, geojson, geopackage, etc.):
|
||||
|
||||
`datashader_cli points {{path/to/input_data.geo.parquet}} {{path/to/output_data.png}} --geo true`
|
||||
|
||||
- Use matplotlib to render the image:
|
||||
|
||||
`datashader_cli points {{path/to/input_data.geo.parquet}} {{path/to/output_data.png}} --geo {{true}} --matplotlib true`
|
||||
Reference in New Issue
Block a user