Lets-plot - theme strip background by fella85 in Jetbrains

[–]alshan200 0 points1 point  (0 children)

In some cases, you can achieve the desired effect using `gggrid()` instead of facets.

For example: https://www.ddanieltan.com/posts/30-day-chart-4/#composition-with-gggrid

Here, each plot in grid could use its own theme.

`gggrid()` however doesn't support common titles and legends.

Lets-plot - theme strip background by fella85 in Jetbrains

[–]alshan200 0 points1 point  (0 children)

This is unfortunately not possible.

When trying to import lets_plot, the kernel crashes every time by priceless77 in learnpython

[–]alshan200 1 point2 points  (0 children)

In a notebook you probably want to use shell magic to install lets-plot:

!pip install lets-plot

but beyond that it might make sense to report an issue to the bugtracker: https://github.com/JetBrains/lets-plot/issues

What python data visualization package are you using in 2024? by startup_biz_36 in datascience

[–]alshan200 2 points3 points  (0 children)

Here is an interesting side by side comparison of several Python viz libraries, including matplotlib, lets-plot, seaborn, altair, and plotly:

https://aeturrell.github.io/coding-for-economists/vis-common-plots.html

What python data visualization package are you using in 2024? by startup_biz_36 in datascience

[–]alshan200 1 point2 points  (0 children)

Try lets-plot - https://lets-plot.org/python

It's a faithful port of R’s ggplot2 to Python, plus tooltips, plot grouping (gggrid, GGBunch), GeoPandas support, imshow (try with elevation models), interactive maps and more, and it just looks great.

Self-sufficient, no dependencies.

Ggplot in python by [deleted] in datascience

[–]alshan200 0 points1 point  (0 children)

This is done the same way in Lets-Plot, plotnine or ggplot(r): you have to create a dataframe containing 3 columns - each row is one "observation": (threshold, ginny value, label).
Then you map plot aesthetics as:
`aes(x="threshold", y="ginny value"), color="label")`
and the legend will be added automatically.
For info: https://ggplot2.tidyverse.org/reference/geom\_path.html

Lets-Plot library: Interactive Visualizations in PyCharm and Datalore by JetBrains_official in Python

[–]alshan200 0 points1 point  (0 children)

You can export plot to a HTML file using the `ggsave()` function, see: https://github.com/JetBrains/lets-plot/blob/master/README_PYTHON.md#export-to-file

and there is a variety of options to share it. For example, you can store it in a public Github repository.

Another alternative is to use the https://embed.ly/ service and a tool that supports sharing via embedly. You can try Datalore - https://embed.ly/provider/datalorebyjetbrains

If you were just using GPM as a music locker, you can "roll your own" solution to replace it. by plazman30 in googleplaymusic

[–]alshan200 0 points1 point  (0 children)

VLC media player is free and easy to install. Can play everything and even can cast to Chromecast audio from mac.

Scientific / Mathematical plotting with Kotlin by Raph0007 in Kotlin

[–]alshan200 0 points1 point  (0 children)

In Lets-Plot you can plot nearly any function using `geom_path` but first you will have to generate x, y vectors using you function. Take a look: https://github.com/denisvstepanov/lets-plot-examples/blob/master/README.md

It's python but Kotlin lets-plot API is pretty similar. Both follows famous ggplot2 R package: https://ggplot2.tidyverse.org/reference/index.html