Skip to content

Latest commit

 

History

History
201 lines (121 loc) · 8.52 KB

examples.md

File metadata and controls

201 lines (121 loc) · 8.52 KB

Example Notebooks

Try the following tutorials and examples to learn and evaluate various features of the Lets-Plot library.

Quickstart and User Guide

Geoms and Stats

geom_histogram, geom_density, geom_vline, geom_freqpoly, geom_boxplot:

distributions.ipynb

geom_errorbar, geom_line, geom_point, geom_bar, geom_crossbar, geom_linerange, geom_pointrange:

error_bars.ipynb

geom_point, geom_smooth (stat_smooth):

scatter_plot.ipynb

geom_smooth.ipynb

geom_density2d, geom_density2df, geom_bin2d, geom_polygon, geom_point :

density_2d.ipynb

geom_tile, geom_contour, geom_polygon (Stat.contour), geom_contourf :

contours.ipynb

geom_image, geom_raster

geom_image(): displays an image specified by a ndarray with shape (n,m) or (n,m,3) or (n,m,4).

See also: image_matrix in The 'bistro' Package.

geom_text, label format

label_format.ipynb

stat_corr

See the 'corr_plot' example in The 'bistro' Package.

Position Adjustment

Scales

Facets

GGBunch

GGBunch allows to show a collection of plots on one figure. Each plot in the collection can have arbitrary location and size. There is no automatic layout inside the bunch.

as_discrete() function

Export to File

The ggsave() function is an easy way to export plot to a file in SVG or HTML formats.

Theme

Legend layout and axis presentation options :

Data Sampling

Sampling is a special technique of data transformation, which helps to deal with large datasets and overplotting.

See: Sampling in Lets-Plot.

Tooltip Customization

See also Tooltip Customization.

The 'bistro' Package

from lets_plot.bistro.corr

corr_plot (also stat_corr): [TODO]

from lets_plot.bistro.im

image_matrix: image_matrix.ipynb

GeoPandas Support

See GeoPandas Support.

Interactive Maps

The interactive map allows zooming in and out and panning around geospatial data that can be added to the base-map layer using regular ggplot2 'geoms'.

See Interactive Maps.

Geocoding API

Geocoding is the process of converting names of places into geographic coordinates.

See Geocoding API.