Is compas_plotters gone for realz?

Hello COMPAS friends.

I know I’m late to the party, but what happened to the Plotter and the compas_plotters package!? I’m migrating my codebase to version 2.15 and I find that good ol’ matplotlib and company are silently gone after version 1.17.10 (not only that, but the CHANGELOG.md file on GitHub does not report the disappearance). Will compas_plotters make a come back from the ashes as some other package, or is it forever gone? :')

Yours,

A matplotlib aficionado.

From the last chats with @tomvanmele it seems like the plotter is indeed gone with no plans to come back. Perhaps @tomvanmele wants to have a separated - community backed - compas_plotter like compas_viewer? Not sure.

1 Like

Yes, I think there were no plans to bring them back, however, I gave it a go at migrating them using Claude, and it turns out to be quite straight-forward. I created a port repo of it on my personal github, and I will discuss with the association if we want to bring this back officially, or if it should stay a community contrib.

@arpastrana please give it a go and let me know if it works, I have tested it only superficially

Cheers!
Gonzalo

I did a few more tweaks to it, now it’s aligned with the `Scene` model of `compas` core and `compas_viewer`

Thanks, @gonzalocasas - it took me a while to get back to this, but the revived compas_plotters works for me! See the animation of the optimization of a funicular arch below, which we generated using Plotter.on() (after including the changes proposed in this PR).

I noticed the package moved back to the compas organization. Is the plan to make it an officially supported library? It would be fantastic to see a release on pypi in any case to pin it as a dependency in my projects :slight_smile:

Also, should the package be renamed compas_plotter for symmetry with compas_viewer and compas_notebook (i.e., name change from plural to singular)?

animation_arch_plotter

Done! All of those things: merged your PR, renamed to singular, and release to pypi compas_plotter v1.0.0 ! compas-plotter · PyPI

Cheers
Gonzalo

1 Like

Pawsome :dog_face: - and compas_plotter now ships as a viz dependency of jax_fdm! Thanks for the quick turnaround, Gonzalo. Cheers!