lets-plot
lets-plot copied to clipboard
Multiplatform plotting library based on the Grammar of Graphics
For example : - `fill = change < 0` https://stackoverflow.com/questions/59989254/different-bar-color-for-positive-and-negative-bars-in-bar-plot - `fill=factor(ifelse(area=="Południe","Highlighted","Normal"))` https://stackoverflow.com/questions/22894102/change-color-of-only-one-bar-in-ggplot - `color=ifelse(df$y
``` ggplot({"a": [1,2]}, aes("a","a")) + geom_line(linetype=0) ``` ---- ggplot2 doesn't draw a line with linetype=0:
The image often don't show up properly when using jupyter notebook in Pycharm. However, everything goes well in VS code jupyter notebook.
```python import pandas as pd from lets_plot import * LetsPlot.setup_html() df = pd.read_csv("https://raw.githubusercontent.com/JetBrains/lets-plot-docs/master/data/iris.csv") ggplot(df, aes(x="sepal_length", color="species")) + stat_ecdf() ``` The axis tooltip is displayed only for the first group of...
**Description:** Colors differ significantly between dark and light modes when using the `lets-plot` package in Databricks Notebooks. This inconsistency makes it challenging to maintain a unified visualization style. **Steps to...
Example: ```python data = { 'v': ['A', 'A', 'B', 'C', 'A', 'B', 'B', 'C'], 'g': ['t', 't', 't', 't', 's', 's', 's', 's'], } ggplot(data, aes('v')) + geom_bar() + coord_polar()...
Good to have auto-rotated ticks. Few examples:  
```python ggsave(chart, "anychart.png") ``` results in ```bash { "name": "OSError", "message": "no library called \"cairo-2\" was found\nno library called \"cairo\" was found\nno library called \"libcairo-2\" was found\ncannot load library 'libcairo.so.2':...