For those trying (and failing like me) to set the background of a choropleth map with the `plot_bgcolor` property of a template object, set the `geo_bgcolor` instead.

The former is overwritten by the later. 😑It's obvious now but that's 2 hours I can't get back...

#Plotly #python #tips

Last updated 1 year ago

The Plotly Dash docs are actually really nice! It's not often you find documentation that goes beyond listing function calls but also explaining the "why" and proactively describing some potential pitfalls along the way. I'm very pleased and can't believe I haven't tried Dash until now!

Https://dash.plotly.com

#python #dash #Plotly #docs

Last updated 1 year ago

maegul · @maegul
302 followers · 3398 posts · Server hachyderm.io

The root problem was plots not appearing in lab. Before going down rabbit holes I thought I’d try the classic notebook first. Plots appeared without an issue. Sorry jupyterlab, you’ve been trying hard for a long time, but you’ve done everything right to make me dislike you.

#Plotly #jupyter

Last updated 1 year ago

After working with for a few days, I'm annoyed.

It makes really cool "hello world" examples. Anything larger is extremely bulky.

It's a state-less web thing, so I need redis/whatever-the-fuck/massive time/net hits just to, like, *store information in variables*.

Except there are no non-toy examples of this. Does anyone outside of medium articles use this thing?

#python #Plotly #dash

Last updated 1 year ago

OK, it begins to make sense. These things just return back dictionaries. Probably to hand to the engine that actually displays in the browser.

As a bonus, if can do grids of text as well as it seems to do plots, I might be able to ditch a work frenemy. And there's no reason it shouldn't--it's just

#Plotly #javascript #dash #flask #python

Last updated 1 year ago

Is there a simple explainer for vs vs plotly express? (I already read the confusing half-truths Google finds)

In particular, why is it easy to find "hello world" graphs from dash, but impossible to find a 3d one other than plotly express?

And what am I getting into dependency-wise if I start using this thing? I don't *want* pandas.

#dash #Plotly #python

Last updated 1 year ago

brandewinder · @brandewinder
198 followers · 45 posts · Server hachyderm.io

Finally managed to plot a trajectory on a 3D surface with Plotly.NET. That took a bit more work than expected! Wondering now how much effort it would take to draw a xmas tree that way ;)

#fsharp #Plotly

Last updated 2 years ago

Peter Bronez · @PeterBronez
79 followers · 502 posts · Server hachyderm.io

@chrispatten do you have a favorite resource for learning ? I’ve traditionally been a graphics-via-code guy (, , , etc) but PowerBI is more supported in at .

#powerbi #rstats #python #Plotly #dayjob

Last updated 2 years ago

Casey · @casey
7 followers · 8 posts · Server hachyderm.io

I use as a digital . One of the things that I have been tracking is my blood pressure.

Wrote a script to plot the values using

github.com/caseyjbrotherton/ob

#ObsidianMD #bujo #python #Plotly

Last updated 2 years ago

Darren · @dplattsf
98 followers · 444 posts · Server sfba.social

@brandewinder this was awesome Matthias. Beautiful demo of the charting features in , numerical differentiation and a fun Xmas themed operations challenge. Now can you get local government to adopt any of these optimization techniques.

#Plotly #fsharp #sf

Last updated 2 years ago

Jonathan Reeve · @JonathanReeve
208 followers · 14 posts · Server hcommons.social

If you do data visualization in Haskell, check out Plotlyhs, the library I've forked and am now maintaining. You can use it to make interactive charts using , but leveraging the functional goodness of . Pull requests welcome! Version 0.2.3 is now live on Hackage: hackage.haskell.org/package/pl

#Plotly #haskell

Last updated 2 years ago

Inushin · @inushin
15 followers · 104 posts · Server noc.social

Como estoy mirando, practicando y haciendo algún que otro curso/tutorial sobre , he adaptado mi anterior repo de + 3.8 + + 20.1.0 para que pueda desplegarse en un cluster de con dos comandos -> github.com/Inushin/kubernetesD

☸ Kubernetes + Python 3.8 + Dash Plotly + GUnicorn 20.1.0 ☸
👉 github.com/Inushin/kubernetesD 👈

#repos #Plotly #python3 #dash #dockercompose #GitHub #k8s #gunicorn #dashplotly #python #docker #kubernetes

Last updated 2 years ago

Inushin · @inushin
14 followers · 102 posts · Server noc.social

Como estoy mirando, practicando y haciendo algún que otro curso/tutorial sobre , he adaptado mi anterior repo de + 3.8 + + 20.1.0 -> github.com/Inushin/dockerDashP para que pueda desplegarse en un cluster de con dos comandos -> github.com/Inushin/kubernetesD

☸ Kubernetes + Python 3.8 + Dash Plotly + GUnicorn 20.1.0 ☸
👉 github.com/Inushin/kubernetesD 👈

#repos #Plotly #python3 #dash #dockercompose #GitHub #k8s #gunicorn #dashplotly #python #docker #kubernetes

Last updated 2 years ago

robertmitchellv · @robertmitchellv
86 followers · 21 posts · Server hachyderm.io

@seabbs maybe this could be helpful for some of what you’re trying to do: robertmitchellv.com/blog/2022-

for the python env i’m using mamba, and for you can always use the `to_pandas()` polars method to pass it off—i want to do a post with more end to end stuff too just haven’t had the time

this at least has part of it, the and method chaining i mean

#pymc #polars #Plotly

Last updated 2 years ago

Vikki :verified: · @DataScienceNot2
590 followers · 126 posts · Server tech.lgbt

day 14 -

took me a while to find a dataset that was suitable for my idea. Apparently, the UK as a whole is pretty bad at recording bee sightings alongside any kind of co-ordinates. However... got there in the end.

This map show sightings in the north east of Scotland in 2011.

Code and data can as per be found on my github: github.com/VikkiWalls/30-Day-M

#30DayMapChallenge #hexagons #bee #datadon #datascience #python #Plotly #mapbox #datavisualisation

Last updated 2 years ago

Vikki :verified: · @DataScienceNot2
590 followers · 126 posts · Server tech.lgbt

day 11 - Colour Friday: Red

I built a map showing the peak positions of 's album "Red (Taylor's Version)" in each nation's respective charts. Nations with more than one chart used the average peak position between each chart.

I was hoping to make the country outlines either white or red too but unlike graph objects, express doesn't seem to have an argument for that.

#30DayMapChallenge #taylorswift #Plotly #datascience #datavisualisation #dataviz #python

Last updated 2 years ago

Vikki :verified: · @DataScienceNot2
591 followers · 126 posts · Server tech.lgbt

day 4

Took a step away from today to explore more about use of through .

Spent ages figuring out how to access the maps using the access tokens but got there eventually by saving the token as a text file and importing that to my code.

The one thing that bugs me is the white line between the map itself and the padded area of the so if anyone knows how to get rid of or change the colour of that I'd be grateful 😇

#30DayMapChallenge #ColourFriday #green #geopandas #mapbox #Plotly #vector #colorbar

Last updated 2 years ago