#470 Package lukelbd/proplot: 🎨 A powerful matplotlib wrapper for making beautiful, publication-quality graphics
Opened by ankursinha. Modified

Please use this ticket to add new software to the NeuroFedora packaging queue.

New software: proplot

Short description: A powerful matplotlib wrapper for making beautiful, publication-quality graphics

Upstream URL: https://github.com/lukelbd/proplot and https://proplot.readthedocs.io

License: MIT

Domain: Data analysis/Utilities

Additional information

Python, should be straightforward.


Metadata Update from @mithunveluri:
- Issue assigned to mithunveluri

Requires matplotlib<3.6 and >3.3 but currently we have 3.8 only in Fedora repos.

You could try patching out the upper bound and see how far you get. The commit doesn't mention why it was set. It might just be an abundance of caution.

You could also ask upstream or check if there are any open issues regarding matplotlib >= 3.6.

with matplotlib 3.8.3 (oldest version available on f40) we encounter an error while importing module. It looks like there is a dependency on the max. version.

============================= test session starts ==============================
platform linux -- Python 3.12.5, pytest-7.4.3, pluggy-1.3.0 -- /usr/bin/python3
cachedir: .pytest_cache
rootdir: /builddir/build/BUILD/proplot-0.9.7
collecting ... collected 0 items / 1 error
==================================== ERRORS ====================================
_______________ ERROR collecting proplot/tests/test_journals.py ________________
/usr/lib/python3.12/site-packages/_pytest/runner.py:341: in from_call
    result: Optional[TResult] = func()
/usr/lib/python3.12/site-packages/_pytest/runner.py:372: in <lambda>
    call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
/usr/lib/python3.12/site-packages/_pytest/python.py:531: in collect
[..]
[..]
    _cmap_database = _init_cmap_database()
../../BUILDROOT/python-proplot-0.9.7-1.fc40.x86_64/usr/lib/python3.12/site-packages/proplot/colors.py:2719: in _init_cmap_database
    database = getattr(mcm, attr)
E   AttributeError: module 'matplotlib.cm' has no attribute 'cmap_d'
=============================== warnings summary ===============================

This ticket has been migrated to the forgejo instance. Please find the new ticket here
https://forge.fedoraproject.org/neuro/NeuroFedora//issues/470

Metadata