feat(viz): publication-growth and co-occurrence network plotters#3
Open
javiercuervo wants to merge 1 commit into
Open
feat(viz): publication-growth and co-occurrence network plotters#3javiercuervo wants to merge 1 commit into
javiercuervo wants to merge 1 commit into
Conversation
Two review-agnostic visualization helpers the toolkit was missing:
- viz.publication_growth: year distribution bar chart from a {year: count}
mapping or an iterable of years, with optional growth-phase shading and
peak annotation.
- viz.cooccurrence_network: publication-quality renderer for keyword/author/
country networks, with Louvain-partition colouring, weighted-degree node
sizing, top-N labelling, and a spring-layout fallback when SciPy is absent.
Adds smoke tests, a CHANGELOG, and bumps the package to 0.2.0. No new hard
dependencies (adjustText/scipy are optional with graceful fallbacks).
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.
Adds two review-agnostic visualization helpers the toolkit was missing, both decoupled from any specific corpus:
viz.publication_growth— publication-year distribution bar chart from a{year: count}mapping or an iterable of years; optional growth-phase shading + peak annotation.viz.cooccurrence_network— publication-quality renderer for keyword/author/country networks; Louvain-partition colouring, weighted-degree node sizing, top-N labelling, graceful spring-layout fallback when SciPy is unavailable.Includes smoke tests (
tests/test_viz.py, passing with and without SciPy), a CHANGELOG, and a bump to 0.2.0. No new hard dependencies. No manuscript text or review-specific data — only generic plotting code.