lets-plot
lets-plot copied to clipboard
Multiplatform plotting library based on the Grammar of Graphics
`1*10^0` -> `1` `1*10^1` -> `10` `1*10^2` -> `10^2`
`scale_size()` should scale the area of a point, not it's radius. For example, ```python data = { 'x': [1, 2, 3, 4], 'y': [0, 0, 0, 0], 'size': [0, 2,...
Add parameters `map`, `map_join`, `use_crs`. Support `GeoDataFrame` in the `data` parameter.
Add **snap-to-point** feature to `coord_polar()`
Livemap: Add zooming-in for `geom_text()`/`geom_label()` Now we have parameters **data_size_zoomin** and **const_size_zoomin** for `geom_livemap()` which control how zooming-in of the map widget increases size of geometry objects (circles, lines etc.)...
Livemap: `geom_hline()` and `geom_vline()` don't have tooltips on livemap ``` ggplot() + geom_livemap(location=[0, 0], zoom=1) + \ geom_hline(yintercept=0, size=1, color="red") ```  Tooltip is presented without livemap  The same...
Code snippet: ```python import numpy as np from scipy.stats import multivariate_normal from lets_plot import * LetsPlot.setup_html() np.random.seed(42) n = 25 x = np.linspace(-1, 1, n) y = np.linspace(-1, 1, n)...
Example: ```python data = {'x': [0, 1], 'y': [0, 1], 'g': ['A', 'B']} ggplot(data, aes('x', 'y', color='g')) + \ geom_point() + \ theme(legend_position='top', legend_justification=[1, 1]) ``` In ggplot2 the similar...
Currently, the only available string value for `legend_justification` is `'centre'`. But it would also be useful to be able to set `'top'`, `'bottom'`, `'left'` and `'right'`. For example, in ggplot2,...