python 3.12 compatibility, plotting and performance updates#2
Open
julffers wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changelog (commit: python 3.12 compatibility, plotting and performance updates)
pyproject.toml(PEP 517, setuptools ≥ 61), set version 0.6.3 andrequires-python >= 3.8; remove legacysetup.py-centric packaging.cufflinksfrom runtime and Read the Docs requirements; keep core stack (plotly,pandas,numba, etc.) inpyproject.toml.plot.py): Replace cufflinks /DataFrame.iplot()and offlineiplotwiring with native Plotly (graph_objects,make_subplots,plotly.colors) for driving-profile and related notebook plots.Visualize_and_Exportnotebooks (data/base,data/eg3,data/eg4) for Plotly-based distance and consumption plots; aligndocs/_static/.../Visualize_and_Export.htmlwith the notebook-style distance plot.export.py): Harden optional scenario lookup (cd in self.subscen); round only numeric columns viafloat64+round(7)to avoid mixed-dtype issues on the full frame; DIETER-oriented export path usescharge_battery(with explicit float handling) per DIETERpy expectations.consumption,mobility, andavailabilityfor compatibility and performance; smaller follow-ups incharging,tools, and new helpers infunctions..gitlab-ci.ymlfor the updated Python / build layout.