pyOpenSci,
@pyOpenSci@fosstodon.org avatar

What are all of our friends working on this weekend?

We're prepping for PyCon, and can't wait to see you there :allthethings:

villares, (edited )
@villares@ciberlandia.pt avatar

@pyOpenSci I'm working, as usual, on my main free and open-source introductory Python teaching materials in a visual context: https://github.com/villares/material-aulas :)
They are initially in Portuguese, but if I can get enough support I'd like to make them available in English. I might also work a bit on my experimental Parsons Problems tool: https://abav.lugaralgum.com/faded-parsons-visual

I hope I can meet pyOpenSci people at , I'm flying Tuesday :)

pyOpenSci,
@pyOpenSci@fosstodon.org avatar

@villares whoa, these resources look AWESOME!

villares,
@villares@ciberlandia.pt avatar

@pyOpenSci 😊​

rzeta0,
@rzeta0@mastodon.social avatar

@pyOpenSci

I'm nowhere near pycon and I'm no expert in coding but I am spending a lot of time thinking about what a modern python plotting library should look like - if it were designed around users first, prioritising consistency, minimalism, intuition, low cognitive load, conceptual coherence ..

.. matplotlib/pyplot is powerful but very few would say they love the experience of trying to use it.

rzeta0,
@rzeta0@mastodon.social avatar

@pyOpenSci

I'm vaguely aware of an effort called "grammar of graphics" to address this which was eventually implemented in R.

pyOpenSci,
@pyOpenSci@fosstodon.org avatar

@rzeta0 Our Community Manager is well-versed in R, so definitely reach out with any questions! She's got plenty of resources she'd be happy to share.

villares,
@villares@ciberlandia.pt avatar

@pyOpenSci @rzeta0 I once heard about Vega and some data-viz abstractions language across several viz libraries but I couldn't grok any of it. I find matplotlib hard too...

jonny,
@jonny@neuromatch.social avatar

@rzeta0
@pyOpenSci
Yep ggplot is the way, no other plotting system ive ever seen comes close. Vega and Altair are cool but the API is awkward and it couples together some of the wrong things and doesnt allow for the depth of hacking that the underlying grid system does in ggplot2

rzeta0,
@rzeta0@mastodon.social avatar

@jonny @pyOpenSci

i think there's a python implementation of ggplot - do you have experience of it?

jonny,
@jonny@neuromatch.social avatar

@rzeta0
@pyOpenSci
I tried it for a little bit when it first popped up, but havent looked since. The R Implementation is very mature and has a lot of surrounding ecosystem with the tidyverse. What I do is basically use python for everything up until the point where I have roughly tabular data and then dump it over into R and plot it there

pyqtgraph,
@pyqtgraph@fosstodon.org avatar

@pyOpenSci we won’t be at pycon but we are getting a lot of contributor interest in developing type annotations throughout the library, we have had great discussions in our issue tracker and will hopefully start committing code to that effort!

pyOpenSci,
@pyOpenSci@fosstodon.org avatar

@pyqtgraph that's amazing, congratulations!

if you're ever interested in submitting for peer review, let us know! we're happy to answer any questions: https://www.pyopensci.org/software-peer-review/

pyqtgraph,
@pyqtgraph@fosstodon.org avatar

@pyOpenSci This looks like an amazing resource!

We recognize we're deficient in many areas. Since we're a pure python package, the packaging bits while a bit outdated (still using setup.py, need to migrate to pyproject.toml), but our CI is in good shape. Our documentation needs mountains of content updates, and our test coverage is somewhere between "well at last you tried" and "lol". Our example app (python -m pyqtgraph.examples) does a lot of heavy lifting but it is amazing.

pyOpenSci,
@pyOpenSci@fosstodon.org avatar

@pyqtgraph we know those test coverage feelings all too well! we're excited to see how your package develops!

leahawasser,
@leahawasser@fosstodon.org avatar

@pyqtgraph @pyOpenSci typing has been so so helpful for us in our stravalib maintenance! i didn't understand how much so until we implemented it. this is awesome!!

pyqtgraph,
@pyqtgraph@fosstodon.org avatar

@leahawasser @pyOpenSci Most of the type-annotations should be straight forward, we need to introduce some aliases for complex/lengthy type unions, but we also have some class methods that are dynamically composed, and how to annotate those is a head scratcher, at a glance there are no good solutions.

If anyone sees this has some ideas, PLEASE chime in on the linked issue below.

https://github.com/pyqtgraph/pyqtgraph/blob/master/pyqtgraph/graphicsItems/PlotItem/PlotItem.py#L268-L279

https://github.com/pyqtgraph/pyqtgraph/issues/3023

  • All
  • Subscribed
  • Moderated
  • Favorites
  • opensource
  • ngwrru68w68
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • anitta
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • provamag3
  • tester
  • Leos
  • megavids
  • JUstTest
  • All magazines