Refactor - cleanup of old stuff and embarasing typos#155
Merged
Conversation
Treat 0.6.x as a clean modern reset; older code can pin earlier versions.
Removed
- legacy meta-path shim for `livelossplot.{keras,tf_keras,poutyne,pytorch_ignite}`
imports (deprecated since 0.5.0)
- `PlotLosses.draw()` (deprecated since 0.5.0)
- dead `LossSubplot`, `_predict_pytorch`, `_not_inline_warning`
Renamed
- `ExtremaPrinter(massage_template=)` → `message_template`
- `Plot2d(valiation_data=)` → `validation_data`
Internals
- `MainLogger` rewritten — drop `OrderedDict` and the property/setter dance
- `BaseOutput` collapsed `set_output_mode`/`_set_output_mode` to one hook;
exposed shared `OutputMode = Literal['notebook', 'script']`
- tensorboard outputs use `pathlib.Path` and timezone-aware timestamps
- fixed mutable default args in `PlotLosses` and `MatplotlibPlot`
- `MatplotlibPlot.extra_plots` callable signature corrected
- type hints modernized to PEP 585/604; `LogItem` to class-based `NamedTuple`
Packaging
- `ipython>=8.0` declared as runtime dep (was a latent missing dep)
- `matplotlib>=3.6`, `bokeh>=3.0` lower bounds
- ruff ruleset tightened: `E F W I UP B SIM RET`
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.
Treat 0.6.x as a clean modern reset; older code can pin earlier versions.
Removed
livelossplot.{keras,tf_keras,poutyne,pytorch_ignite}imports (deprecated since 0.5.0)PlotLosses.draw()(deprecated since 0.5.0)LossSubplot,_predict_pytorch,_not_inline_warningRenamed
ExtremaPrinter(massage_template=)→message_templatePlot2d(valiation_data=)→validation_dataInternals
MainLoggerrewritten — dropOrderedDictand the property/setter danceBaseOutputcollapsedset_output_mode/_set_output_modeto one hook; exposed sharedOutputMode = Literal['notebook', 'script']pathlib.Pathand timezone-aware timestampsPlotLossesandMatplotlibPlotMatplotlibPlot.extra_plotscallable signature correctedLogItemto class-basedNamedTuplePackaging
ipython>=8.0declared as runtime dep (was a latent missing dep)matplotlib>=3.6,bokeh>=3.0lower boundsE F W I UP B SIM RET