Tuomas Väisänen 📼🧟‍♂️ · @waeiski
685 followers · 954 posts · Server vis.social

Ok, there is a issue regarding point pattern analysis my colleagues are struggling with.

It seems that "stretches" two-dimensional plots in a weird way with some data, whereas running the same analysis in with the exact same data provides good and expected results.

One option would be to go full to see if it is related to contour plots, but I have not gone there yet.

#matplotlib #qgis #geopandas #kde #seaborn #dataviz #python

Last updated 2 years ago

Lisa Hornung · @LisaHornung
553 followers · 181 posts · Server fosstodon.org

Discovered a gold mine of data from Star Wars scripts for projects. Decided to plot each line of Anakin in The Phantom Menace. 🎇

Massive kudos to Jean Wieme for cleaning, checking and providing all the data. 🤩 Available to download here github.com/jcwieme/data-script

Can’t wait to keep exploring the data and viz away!

Polar chart made in using , full code here: github.com/Lisa-Ho/small-data-

#dataviz #python #matplotlib #starwars #datavis #creativecoding

Last updated 2 years ago

Nicolas P. Rougier · @rougier
632 followers · 352 posts · Server toot.aquilenet.fr

Playing with transform and clip path, I made a 3D imshow for . It is reasonably fast.
Code at gist.github.com/rougier/9d5655

#matplotlib

Last updated 2 years ago

@gmgall NFLizado das ideias 🏈 · @gmgall
239 followers · 2782 posts · Server ursal.zone

NÃO SEI NEM MAIS DIREITO NO QUE MEXI, MAS MELHOROU, PQP

THIS IS NOT A DRILL

#dev #matplotlib #python

Last updated 2 years ago

Alexandre B A Villares · @villares
19 followers · 27 posts · Server pynews.com.br

explorando dados © contribuidores do

#python #matplotlib #openstreetmaps

Last updated 2 years ago

Sam Harrison · @samharrison7
158 followers · 194 posts · Server mas.to

is now officially supported in !

As much as I like to pretend that I dislike anything related (except VS Code, of course), I often find myself turning to Excel for small tasks, particularly when collaborating with non-coder colleagues. This new Python support, in particular the ability to represent ranges of Excel cells as DataFrames, and use and for plotting, could be a game change for these applications.

techcommunity.microsoft.com/t5

#seaborn #matplotlib #pandas #Microsoft #excel #Python

Last updated 2 years ago

Nicolas P. Rougier · @rougier
630 followers · 342 posts · Server toot.aquilenet.fr

Rendering of a 3D textured mesh using only. I didn't think it was possible but it is obviously. A bit slow (~500ms) but mesh can be then saved as PDF and included in article.

Hack is to use several imshow (one per triangle) with transform and clip paths.

Code will be available soon at github.com/rougier/gsp-matplot

#matplotlib

Last updated 2 years ago

ottoto · @ottoto2017
129 followers · 1912 posts · Server prattohome.com

での スクリプトを予告」: The Register

「本日、Excel での Python のパブリック プレビューをご紹介できることをうれしく思います。これにより、Python と Excel の分析を同じ Excel グリッド内に統合して、中断のないワークフローを実現できるようになります」

「Microsoft は と提携し、 などの人気ライブラリを含むデータ サイエンス指向の Python ディストリビューションを提供しています」

theregister.com/2023/08/22/pyt

#マイクロソフト #excel #python #anaconda #pandas #matplotlib #prattohome

Last updated 2 years ago

@gmgall NFLizado das ideias 🏈 · @gmgall
234 followers · 2673 posts · Server ursal.zone

É, olhei hoje de novo e o bruto do tempo de execução nem é gasto em código .

É gasto pelo que o método matplotlib.animation.FuncAnimation.save() usa para escrever a animação no disco.

Não se gasta muito tempo em loops ou criando/destruindo objetos.

Vou ter que mergulhar na documentação do matplotlib para ver se eles estão usando as classes/métodos ideais para o que estão tentando fazer.

#python #ffmpeg #dev #matplotlib

Last updated 2 years ago

Tim Kellogg · @kellogh
934 followers · 3430 posts · Server hachyderm.io
@gmgall NFLizado das ideias 🏈 · @gmgall
233 followers · 2671 posts · Server ursal.zone

Pediram para eu melhorar o desempenho de um código que gera uma animação com

Usei um profiler para ver que linhas do código gastavam mais tempo.

Parece que a maior parte do tempo é gasto *numa única chamada* a
animation.FuncAnimation.save() que por sua vez usa ffmpeg quase todo o tempo.

Vou confirmar os tempos amanhã, sem sono, mas parece que é isso mesmo. Aceito sugestões.

#python #matplotlib #dev

Last updated 2 years ago

Abhinav Tushar · @lepisma
3 followers · 13 posts · Server mathstodon.xyz

#gpt4 #emacs #ai #matplotlib

Last updated 2 years ago

EvgenyNr · @evgenynr
7 followers · 124 posts · Server toot.io

Почему мне нравится , и не так нравится ?
1. Plotly имеет функциональный интерфейс и не приходится иметь дело с ненавистным глабальным состоянием, провоцирующим крышесносные ошибки в matplotlib (например в matplotlib можно случайно вызвать `clf()` до создания `figure()` с непредсказуемым поведением 🤪)
@ru

#plotly #matplotlib #plotlypotbot #dataviz #science #functionalprogramming

Last updated 2 years ago

Jan Kühn · @yotka
23 followers · 23 posts · Server vis.social

Still, you can download the plot as a static PNG image. For smaller screens, a static version is displayed automatically.

The latest version has seen some major refactoring and now uses instead of . The data comes, as before, from @openmeteo .

#opendata #matplotlib #plotly

Last updated 2 years ago

Giovanni Crisalfi · @gicrisf
85 followers · 282 posts · Server fosstodon.org

As promised, I have published the second episode of the introductory tutorial on Hy, the Lisp dialect that compiles to Python AST and interoperates with its libraries.

This episode explores lexical scoped blocks and macros, showcasing the metaprogramming capabilities offered by Hy.

dev.to/gicrisf/getting-started

#hylang #python #beginner #lisp #clojure #macro #matplotlib

Last updated 2 years ago

Stark · @Stark9837
485 followers · 2536 posts · Server techhub.social

@pixeltracker @guetto

For research projects where I use and , I actually like using ! It is just easier to run code and view my plots.

With , you can even have widgets like sliders and other stuff.

It just speeds up my prototyping and makes me more productive. Naturally, only my plotting code and math exist in the .ipynb, and the rest is just imported from normal .py files. Thus, it allows for quick conversions once the prototyping is done.

@Python

#numpy #matplotlib #jupyter #pyqt #qt #python

Last updated 2 years ago

Anita Graser 🇪🇺🇺🇦 · @underdarkGIS
2494 followers · 1908 posts · Server fosstodon.org

TIL more about / / / color map handling than I ever wanted to know 🤨

Hopefully, the improved plots will be ready soon

#holoviews #colorcet #bokeh #matplotlib #movingpandas #dataviz #mobilitydatascience #movementdataanalytics

Last updated 2 years ago

Yann Büchau :python: · @nobodyinperson
230 followers · 982 posts · Server fosstodon.org

Interesting how resizing an interactive (%matplotlib widget) plot in @Jupyter can deadlock :firefox: so hard, that you can't kill -9 it anymore, thus have to reboot and watch systemd being unable to properly shut down due to this, so effectively a hard-reboot is necessary 🤦

#matplotlib #jupyterhub #firefox

Last updated 2 years ago

Boud · @boud
394 followers · 2251 posts · Server framapiaf.org

@python

question for scientific graphs:

How can I get standard scientific notation (e.g. 3.4 \times 10^{-5} converted style, at a tick) on axis labels instead of the software style '10e-5' written near the axis and 3.4 at the tick? Readers of a paper are not necessarily matplotlib fans.

pyplot.loglog() does this, but not all plots make sense as log-log plots.

searches so far only turn up hints for software 'e' notation, not standard notation.

#searx #texlatex #matplotlib

Last updated 2 years ago

Yann Büchau :python: · @nobodyinperson
229 followers · 951 posts · Server fosstodon.org

Oooh, this is starting to look very promising! With a shell.nix file, a Pipfile[.lock] (all in of course) I was able to reproduce the same environment across multiple machines. And even my pickled and compressed figures created on one machine opened fine on the other (very delicate matter normally). 🥳

#git #matplotlib

Last updated 2 years ago