med-mastodon.com is one of the many independent Mastodon servers you can use to participate in the fediverse.
Medical community on Mastodon

Administered by:

Server stats:

369
active users

#matplotlib

1 post1 participant0 posts today

#python

More of a general question about community. I want to draw a pie plot, in a package/rendering engine that is not #matplotlib . But I know that matplotlib does do the math I need.

Theoretically, the "correct" approach would be to isolate that math, make a new package and hook it in so that both matplotlib and my new package can now use the same math, same package. I can reuse the math I need without their rendering assumptions.

But I don't think they would do this. (1/2) ...

🚀 Dive into a GRASS tutorial! 🌟

Discover how to create plots directly in GRASS using tools powered by the matplotlib library. No conversion needed! Visualize your raster, vector, and time series data effortlessly. Check it out and give it a try!

#Tutorial #DataVisualization #GRASS #GIS #Python #Matplotlib

grass-tutorials.osgeo.org/cont
grass-tutorials.osgeo.org/cont

grass-tutorials.osgeo.orgMaking plots with GRASS

Jebus.. #Python and all it's batteries. So #Matplotlib knows how to talk #SVG already. I just started to speculate on how hard that would be to implement and.. it's already there built into Matplotlib.

Well. That worked out rather nicely then.

Being back working in Python feels way too magical at times.

Turns out the mechanisms I'd already put in can do graphs and plots already with clean readable markdown - no new plumbing needed.

I'd have thought that a far-fetched goal moments ago.

#30DayChartChallenge Day1 Fractions - animal rescue incidents attended by the London fire brigade.

5 of 10 animals rescued are cats, but there are some interesting differences between boroughs - birds in Westminster, horse in Bexley, foxes in Hammersmith.

Made in #python #matplotlib using custom svg markers + #pyfonts to read in Google font.

Full code github.com/Lisa-Ho/small-data-

Seeking recommendations for a #WebMapping tutorial / course?

Slightly at sea on where to start.

- My current JS skill level is _extreme novice_.
- I don't have access to ArcGIS.
- Comfortable with #QGIS [*] and the #python #geospatial ecosystem (#geopandas #xarray #rasterio and plotting with #matplotlib)

Suggestions welcome. TIA. 👍

* I have looked at the qgis2web plugin, but having some issues associated with my aged laptop (2012 mbp running Ubuntu) and a 'Wayland session'.

Oh look, a rainbow! Exploring the Visible Spectrum with Python Part 1
In this article I write Python code to calculate the frequencies, wavelengths, energies and RGB values of light across the visible spectrum. (Next week in Part 2 I plot the data using Matplotlib.)
#python #pythonprogramming #physics #numpy #matplotlib #light #spectrum
codedrome.substack.com/p/visib

CodeDrome · Exploring the Visible Spectrum with Python Part 1By Chris Webb

Weekend viz. Marvel money tree showing box office sales by film and series.

Avengers are the most succesful series in in terms of box office sales with Avengers: End Game on top ($2,797m). Captain Marvel is the most succesful standalone film ($1,129m).

Data from Information is Beautiful (up until Jun 2023). Visual made 100% in #python #matplotlib.

Full code here (not pretty though 😁 ) github.com/Lisa-Ho/small-data-

"Plotando estatísticas básicas com #Polars e #Matplotlib - #NLP 04 " @dunossauro #Python

youtube.com/watch?v=4HpSFIekqD

Hoje eu aprendi uma ideia ótima do Dunossauro que é imaginar que o ax do fig, ax do matplotlib (axis/eixo) é como uma haste onde penduramos as coisas! Como é fundamental o trabalho dele pra nossa comunidade.

Update: inicialmente achei que era uma tradução corrente mas ele me explicou que não.

Network Graph Visualization: Improving Clarity in Dense Clusters with NetworkX
Improve Network Graph Visualization with NetworkX & Matplotlib! Learn simple yet effective strategies to enhance clarity, especially in dense clusters. Explore alternative layout algorithms & parameter adjustments for insightful data representation. #NetworkGraphVisualization #NetworkX #Matplotlib #DataVisualization #GraphTheory #Python
tech-champion.com/programming/