feat: simplify chartly plotting interface#46
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the Sphinx documentation to reflect Chartly’s simplified plotting workflow, emphasizing direct method calls for subplots/overlays and an explicit render() step instead of dictionary payloads and loop-heavy examples.
Changes:
- Updated the main usage docs to demonstrate
add_subplot(...),add_overlay(...), andrender()instead of payload dictionaries. - Simplified multiplot examples by removing loop-based patterns and showing clearer, explicit calls.
- Minor wording/clarity improvements in the docs.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| docs/source/index.rst | Updates core “Usage” documentation to use add_subplot(...)/add_overlay(...) and render() examples. |
| docs/source/Multiplots.rst | Reworks overlay/subplot examples to the simplified API and adds missing imports/cleaner formatting. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
cmbengue-ec-intl
left a comment
There was a problem hiding this comment.
Add mutliple subplot and overlay capabilities.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.
Comments suppressed due to low confidence (1)
docs/source/index.rst:58
- This section lists the Chart constructor’s args keys, but it omits
showeven thoughChartsupports it (and tests useshow=Falseto suppress display). Please document theshowoption here (including its default) so users know how to disable display in scripts/tests.
Chartly allows users to build plots by first creating a main figure and then adding subplots to the figure. To initialize a main figure, users can create a `Chart` instance. Users can also label and customize the main figure by passing an optional dictionary. The dictionary should contain the following keys:
- `super_title` (str): The title of the main figure.
- `super_xlabel` (str): The x-axis label of the main figure.
- `super_ylabel` (str): The y-axis label of the main figure.
- `share_axes` (bool): Whether to share the y-axes across all subplots. Default is True.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
cmbengue-ec-intl
left a comment
There was a problem hiding this comment.
Good work. The interface is substantially better. 💯
* Set Up Repository (#2) * WIP: Set Up Repo * update requirements * closes string * adds plotting utilities class * Adds tests to the plotting module * Update the default settings * Adds README * linting corrections * Update Workflows (#5) * Update cd.yml * Update ci.yml * Update docs.yml * Update guard.yml * Update super-linter.yml * Delete release-log.yml * adds docs * Update .github/workflows/super-linter.yml Co-authored-by: Cheikh Mbengue <97647866+cmbengue-ec-intl@users.noreply.github.com> * Update docs/source/conf.py Co-authored-by: Cheikh Mbengue <97647866+cmbengue-ec-intl@users.noreply.github.com> * Delete docs/make.bat * Delete docs/Makefile * fix warnings * fix warnings * Update docs/source/index.rst Co-authored-by: Cheikh Mbengue <97647866+cmbengue-ec-intl@users.noreply.github.com> * Update docs/source/index.rst Co-authored-by: Cheikh Mbengue <97647866+cmbengue-ec-intl@users.noreply.github.com> * Update docs/source/index.rst Co-authored-by: Cheikh Mbengue <97647866+cmbengue-ec-intl@users.noreply.github.com> --------- Co-authored-by: Cheikh Mbengue <97647866+cmbengue-ec-intl@users.noreply.github.com> * docs: Add docs and rename plotting to chartly (#3) * Update the docs of the plotting and test_plotting modules * update docs workflows * Fix Sphinx render * add docs * rename plotting --> chartly * linting * Remove unused CSS and HTML files * WIP * update linting * update workflows * Update exclude_patterns in conf.py * adds manifest.in file * Adds CustomizePlot Class * update docs to reflect new changes * Adds HatchArea Class * update contour plot function * adds contour mask hatching * WIP * update tests * Remove hatch feature from this PR * fix isort * Delete docs/Makefile * Delete docs/make.bat * Package the chartly module * updates tests * removes basemap from this PR * linting * silences importation error * updates attr name * updates docs and add figure creator * updates VERSION file * update docs auto api dir * WIP * WIP * WIP * WIP * update chartly * isort * linting changes * update docs * update title * update img addresses * updates save functionality * fea: Add Contour Plot Hatching (#8) * Update the docs of the plotting and test_plotting modules * update docs workflows * Fix Sphinx render * add docs * rename plotting --> chartly * linting * Remove unused CSS and HTML files * WIP * update linting * update workflows * Update exclude_patterns in conf.py * adds manifest.in file * Adds CustomizePlot Class * update docs to reflect new changes * Adds HatchArea Class * update contour plot function * adds contour mask hatching * WIP * update tests * Remove unnecessary code and files related to Sphinx documentation * delete old src folder * Refactor Contour class to add hatch grid and mask functionality * updates customs' keys name * Update docs * updates hatch customs keys * update default * update docs * update docs * Add darker color edges to the filled plot * fix isort * adds optional input dict to `new_subplot` method and fixes orientation of the color bar * linting * Update the README.md to Reflect the Current Repo (#14) * updates LICENSE * deletes containers * deletes unnecessary files * updates README * adds language to codeblock fence * deletes devcontainer dir * Update Sphinx Documentation (#16) * updates broken links * update the sphinx documentation * Update VERSION (#17) * Adds DotPlot to Chartly (#21) * Adds DotPlot to Charlty * updates version file * Add Scatter Plot to Chartly (#24) * Adds scatter plot to chartly * update docs * Update the docs for line plot * update plot title * updates tests * Update the Example in the README.md to be More Illustrative (#26) * Updates example * removes redundant statement * removes extra white space * updates readme * updates readme example explanation * fixes probability plot label * linting * fixes line of best fit (#28) * adds option to specify bins (#30) * chore: Update VERSION to 0.0.4 (#31) * feat: Update DotPlot defaults to use square root of data length for bins (#33) * feat: Update DotPlot defaults to use square root of data length for bins * centers the x ticks * bump: Update setuptools version (#36) * bump: Update setuptools dependency to version 78.1.1 in production, staging, and testing requirements * Update VERSION * bump: setuptools to v78.1.1 (#38) * bump: setuptools to v78.1.1 * fix: resolve docs build pathing * docs: mock dependencies and fix code formatting * docs: fix build pathing and image directive formatting * revert: restore original sphinx config * docs: remove autoapi and unused extensions to fix Sphinx build * chore: format docs Sphinx config --------- Co-authored-by: Kaitlyn Alphonse <kalphonse@eci-iMac-2.local> * bump: chartly to v0.0.6 (#41) * release: charily v0.0.5 (#40) * Set Up Repository (#2) * WIP: Set Up Repo * update requirements * closes string * adds plotting utilities class * Adds tests to the plotting module * Update the default settings * Adds README * linting corrections * Update Workflows (#5) * Update cd.yml * Update ci.yml * Update docs.yml * Update guard.yml * Update super-linter.yml * Delete release-log.yml * adds docs * Update .github/workflows/super-linter.yml Co-authored-by: Cheikh Mbengue <97647866+cmbengue-ec-intl@users.noreply.github.com> * Update docs/source/conf.py Co-authored-by: Cheikh Mbengue <97647866+cmbengue-ec-intl@users.noreply.github.com> * Delete docs/make.bat * Delete docs/Makefile * fix warnings * fix warnings * Update docs/source/index.rst Co-authored-by: Cheikh Mbengue <97647866+cmbengue-ec-intl@users.noreply.github.com> * Update docs/source/index.rst Co-authored-by: Cheikh Mbengue <97647866+cmbengue-ec-intl@users.noreply.github.com> * Update docs/source/index.rst Co-authored-by: Cheikh Mbengue <97647866+cmbengue-ec-intl@users.noreply.github.com> --------- Co-authored-by: Cheikh Mbengue <97647866+cmbengue-ec-intl@users.noreply.github.com> * docs: Add docs and rename plotting to chartly (#3) * Update the docs of the plotting and test_plotting modules * update docs workflows * Fix Sphinx render * add docs * rename plotting --> chartly * linting * Remove unused CSS and HTML files * WIP * update linting * update workflows * Update exclude_patterns in conf.py * adds manifest.in file * Adds CustomizePlot Class * update docs to reflect new changes * Adds HatchArea Class * update contour plot function * adds contour mask hatching * WIP * update tests * Remove hatch feature from this PR * fix isort * Delete docs/Makefile * Delete docs/make.bat * Package the chartly module * updates tests * removes basemap from this PR * linting * silences importation error * updates attr name * updates docs and add figure creator * updates VERSION file * update docs auto api dir * WIP * WIP * WIP * WIP * update chartly * isort * linting changes * update docs * update title * update img addresses * updates save functionality * fea: Add Contour Plot Hatching (#8) * Update the docs of the plotting and test_plotting modules * update docs workflows * Fix Sphinx render * add docs * rename plotting --> chartly * linting * Remove unused CSS and HTML files * WIP * update linting * update workflows * Update exclude_patterns in conf.py * adds manifest.in file * Adds CustomizePlot Class * update docs to reflect new changes * Adds HatchArea Class * update contour plot function * adds contour mask hatching * WIP * update tests * Remove unnecessary code and files related to Sphinx documentation * delete old src folder * Refactor Contour class to add hatch grid and mask functionality * updates customs' keys name * Update docs * updates hatch customs keys * update default * update docs * update docs * Add darker color edges to the filled plot * fix isort * adds optional input dict to `new_subplot` method and fixes orientation of the color bar * linting * Update the README.md to Reflect the Current Repo (#14) * updates LICENSE * deletes containers * deletes unnecessary files * updates README * adds language to codeblock fence * deletes devcontainer dir * Update Sphinx Documentation (#16) * updates broken links * update the sphinx documentation * Update VERSION (#17) * Adds DotPlot to Chartly (#21) * Adds DotPlot to Charlty * updates version file * Add Scatter Plot to Chartly (#24) * Adds scatter plot to chartly * update docs * Update the docs for line plot * update plot title * updates tests * Update the Example in the README.md to be More Illustrative (#26) * Updates example * removes redundant statement * removes extra white space * updates readme * updates readme example explanation * fixes probability plot label * linting * fixes line of best fit (#28) * adds option to specify bins (#30) * chore: Update VERSION to 0.0.4 (#31) * feat: Update DotPlot defaults to use square root of data length for bins (#33) * feat: Update DotPlot defaults to use square root of data length for bins * centers the x ticks * bump: Update setuptools version (#36) * bump: Update setuptools dependency to version 78.1.1 in production, staging, and testing requirements * Update VERSION * bump: setuptools to v78.1.1 (#38) * bump: setuptools to v78.1.1 * fix: resolve docs build pathing * docs: mock dependencies and fix code formatting * docs: fix build pathing and image directive formatting * revert: restore original sphinx config * docs: remove autoapi and unused extensions to fix Sphinx build * chore: format docs Sphinx config --------- Co-authored-by: Kaitlyn Alphonse <kalphonse@eci-iMac-2.local> --------- Co-authored-by: Azendae Popo <97713029+Azendae-Popo@users.noreply.github.com> Co-authored-by: Azendae Popo <apopo@ec-intl.com> Co-authored-by: Kaitlyn Alphonse <kalphonse@ec-intl.com> Co-authored-by: Kaitlyn Alphonse <kalphonse@eci-iMac-2.local> * bump: Version from 0.0.6 to 1.0.1 (#43) * fea: Adds basemap (#10) * Update the docs of the plotting and test_plotting modules * update docs workflows * Fix Sphinx render * add docs * rename plotting --> chartly * linting * Remove unused CSS and HTML files * WIP * update linting * update workflows * Update exclude_patterns in conf.py * adds manifest.in file * Adds CustomizePlot Class * update docs to reflect new changes * Adds HatchArea Class * update contour plot function * adds contour mask hatching * WIP * update tests * add basemap to chartly * Delete docs/Makefile * Delete docs/make.bat * adds basemap feature to the class * update requirements * update requirement file * linting * Add Contour Plot and Hatching to basemap * Adds annotations class to basemap * WIP * fix: resolve basemaps PR lint and dependency issues * fix: resolve basemap dependency conflict and lint issues * style: fix ci workflow yaml lint warning * refactor: remove duplicate hatch logic and apply black formatting * fix: correct ci.yml indentation * fix: resolve basemap centering issue * fix: resolve failing lint check * fix: resolve indentation error * fix: add lint spacing * fix: improve basemap robustness, hatch handling, and input validation Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * fix: resolve basemap import fallback and hatch validation issues * style: fix import ordering with isort * feat: simplify Chart public API with render and subplot helpers * feat: add basemap convenience helper to simplify Chart API * bump: upgrade numpy, basemap, and twine dependencies * bump: chartly v0.0.7 --------- Co-authored-by: Kaitlyn Alphonse <kalphonse@eci-iMac-2.local> Co-authored-by: Kaitlyn Alphonse <kalphonse@ec-intl.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * docs: simplify chartly plotting interface (#46) * docs: simplify chartly plotting interface * fix: clarify multiplots intro with new interface methods * feat: add batch subplot helper for cleaner chart interface * feat: add validated batch subplot helper and tests * docs: align subplot titles with existing example images * feat: add add_subplots helper and simplify plotting docs --------- Co-authored-by: Kaitlyn Alphonse <kalphonse@eci-iMac-2.local> * docs: update and refine README.md (#47) * docs: update and refine README.md * fix: resolve markdown lint errors * fix: markdownlint issues and formatting * docs: refine README and add basemap support --------- Co-authored-by: Kaitlyn Alphonse <kalphonse@eci-iMac-2.local> * docs: add basemap documentation and update index (#48) * docs: add basemap documentation and update index * docs: update basemap docs and move images to _static * docs: align dependency versions and spelling in basemap docs --------- Co-authored-by: Kaitlyn Alphonse <kalphonse@eci-iMac-2.local> * bump: chartly v1.1.0 (#49) --------- Co-authored-by: Azendae Popo <97713029+Azendae-Popo@users.noreply.github.com> Co-authored-by: Cheikh Mbengue <97647866+cmbengue-ec-intl@users.noreply.github.com> Co-authored-by: Azendae Popo <apopo@ec-intl.com> Co-authored-by: Kaitlyn Alphonse <kalphonse@eci-iMac-2.local> Co-authored-by: Cheikh Mbengue <cmbengue@ec-intl.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* Set Up Repository (#2) * WIP: Set Up Repo * update requirements * closes string * adds plotting utilities class * Adds tests to the plotting module * Update the default settings * Adds README * linting corrections * Update Workflows (#5) * Update cd.yml * Update ci.yml * Update docs.yml * Update guard.yml * Update super-linter.yml * Delete release-log.yml * adds docs * Update .github/workflows/super-linter.yml Co-authored-by: Cheikh Mbengue <97647866+cmbengue-ec-intl@users.noreply.github.com> * Update docs/source/conf.py Co-authored-by: Cheikh Mbengue <97647866+cmbengue-ec-intl@users.noreply.github.com> * Delete docs/make.bat * Delete docs/Makefile * fix warnings * fix warnings * Update docs/source/index.rst Co-authored-by: Cheikh Mbengue <97647866+cmbengue-ec-intl@users.noreply.github.com> * Update docs/source/index.rst Co-authored-by: Cheikh Mbengue <97647866+cmbengue-ec-intl@users.noreply.github.com> * Update docs/source/index.rst Co-authored-by: Cheikh Mbengue <97647866+cmbengue-ec-intl@users.noreply.github.com> --------- Co-authored-by: Cheikh Mbengue <97647866+cmbengue-ec-intl@users.noreply.github.com> * docs: Add docs and rename plotting to chartly (#3) * Update the docs of the plotting and test_plotting modules * update docs workflows * Fix Sphinx render * add docs * rename plotting --> chartly * linting * Remove unused CSS and HTML files * WIP * update linting * update workflows * Update exclude_patterns in conf.py * adds manifest.in file * Adds CustomizePlot Class * update docs to reflect new changes * Adds HatchArea Class * update contour plot function * adds contour mask hatching * WIP * update tests * Remove hatch feature from this PR * fix isort * Delete docs/Makefile * Delete docs/make.bat * Package the chartly module * updates tests * removes basemap from this PR * linting * silences importation error * updates attr name * updates docs and add figure creator * updates VERSION file * update docs auto api dir * WIP * WIP * WIP * WIP * update chartly * isort * linting changes * update docs * update title * update img addresses * updates save functionality * fea: Add Contour Plot Hatching (#8) * Update the docs of the plotting and test_plotting modules * update docs workflows * Fix Sphinx render * add docs * rename plotting --> chartly * linting * Remove unused CSS and HTML files * WIP * update linting * update workflows * Update exclude_patterns in conf.py * adds manifest.in file * Adds CustomizePlot Class * update docs to reflect new changes * Adds HatchArea Class * update contour plot function * adds contour mask hatching * WIP * update tests * Remove unnecessary code and files related to Sphinx documentation * delete old src folder * Refactor Contour class to add hatch grid and mask functionality * updates customs' keys name * Update docs * updates hatch customs keys * update default * update docs * update docs * Add darker color edges to the filled plot * fix isort * adds optional input dict to `new_subplot` method and fixes orientation of the color bar * linting * Update the README.md to Reflect the Current Repo (#14) * updates LICENSE * deletes containers * deletes unnecessary files * updates README * adds language to codeblock fence * deletes devcontainer dir * Update Sphinx Documentation (#16) * updates broken links * update the sphinx documentation * Update VERSION (#17) * Adds DotPlot to Chartly (#21) * Adds DotPlot to Charlty * updates version file * Add Scatter Plot to Chartly (#24) * Adds scatter plot to chartly * update docs * Update the docs for line plot * update plot title * updates tests * Update the Example in the README.md to be More Illustrative (#26) * Updates example * removes redundant statement * removes extra white space * updates readme * updates readme example explanation * fixes probability plot label * linting * fixes line of best fit (#28) * adds option to specify bins (#30) * chore: Update VERSION to 0.0.4 (#31) * feat: Update DotPlot defaults to use square root of data length for bins (#33) * feat: Update DotPlot defaults to use square root of data length for bins * centers the x ticks * bump: Update setuptools version (#36) * bump: Update setuptools dependency to version 78.1.1 in production, staging, and testing requirements * Update VERSION * bump: setuptools to v78.1.1 (#38) * bump: setuptools to v78.1.1 * fix: resolve docs build pathing * docs: mock dependencies and fix code formatting * docs: fix build pathing and image directive formatting * revert: restore original sphinx config * docs: remove autoapi and unused extensions to fix Sphinx build * chore: format docs Sphinx config --------- Co-authored-by: Kaitlyn Alphonse <kalphonse@eci-iMac-2.local> * bump: chartly to v0.0.6 (#41) * release: charily v0.0.5 (#40) * Set Up Repository (#2) * WIP: Set Up Repo * update requirements * closes string * adds plotting utilities class * Adds tests to the plotting module * Update the default settings * Adds README * linting corrections * Update Workflows (#5) * Update cd.yml * Update ci.yml * Update docs.yml * Update guard.yml * Update super-linter.yml * Delete release-log.yml * adds docs * Update .github/workflows/super-linter.yml Co-authored-by: Cheikh Mbengue <97647866+cmbengue-ec-intl@users.noreply.github.com> * Update docs/source/conf.py Co-authored-by: Cheikh Mbengue <97647866+cmbengue-ec-intl@users.noreply.github.com> * Delete docs/make.bat * Delete docs/Makefile * fix warnings * fix warnings * Update docs/source/index.rst Co-authored-by: Cheikh Mbengue <97647866+cmbengue-ec-intl@users.noreply.github.com> * Update docs/source/index.rst Co-authored-by: Cheikh Mbengue <97647866+cmbengue-ec-intl@users.noreply.github.com> * Update docs/source/index.rst Co-authored-by: Cheikh Mbengue <97647866+cmbengue-ec-intl@users.noreply.github.com> --------- Co-authored-by: Cheikh Mbengue <97647866+cmbengue-ec-intl@users.noreply.github.com> * docs: Add docs and rename plotting to chartly (#3) * Update the docs of the plotting and test_plotting modules * update docs workflows * Fix Sphinx render * add docs * rename plotting --> chartly * linting * Remove unused CSS and HTML files * WIP * update linting * update workflows * Update exclude_patterns in conf.py * adds manifest.in file * Adds CustomizePlot Class * update docs to reflect new changes * Adds HatchArea Class * update contour plot function * adds contour mask hatching * WIP * update tests * Remove hatch feature from this PR * fix isort * Delete docs/Makefile * Delete docs/make.bat * Package the chartly module * updates tests * removes basemap from this PR * linting * silences importation error * updates attr name * updates docs and add figure creator * updates VERSION file * update docs auto api dir * WIP * WIP * WIP * WIP * update chartly * isort * linting changes * update docs * update title * update img addresses * updates save functionality * fea: Add Contour Plot Hatching (#8) * Update the docs of the plotting and test_plotting modules * update docs workflows * Fix Sphinx render * add docs * rename plotting --> chartly * linting * Remove unused CSS and HTML files * WIP * update linting * update workflows * Update exclude_patterns in conf.py * adds manifest.in file * Adds CustomizePlot Class * update docs to reflect new changes * Adds HatchArea Class * update contour plot function * adds contour mask hatching * WIP * update tests * Remove unnecessary code and files related to Sphinx documentation * delete old src folder * Refactor Contour class to add hatch grid and mask functionality * updates customs' keys name * Update docs * updates hatch customs keys * update default * update docs * update docs * Add darker color edges to the filled plot * fix isort * adds optional input dict to `new_subplot` method and fixes orientation of the color bar * linting * Update the README.md to Reflect the Current Repo (#14) * updates LICENSE * deletes containers * deletes unnecessary files * updates README * adds language to codeblock fence * deletes devcontainer dir * Update Sphinx Documentation (#16) * updates broken links * update the sphinx documentation * Update VERSION (#17) * Adds DotPlot to Chartly (#21) * Adds DotPlot to Charlty * updates version file * Add Scatter Plot to Chartly (#24) * Adds scatter plot to chartly * update docs * Update the docs for line plot * update plot title * updates tests * Update the Example in the README.md to be More Illustrative (#26) * Updates example * removes redundant statement * removes extra white space * updates readme * updates readme example explanation * fixes probability plot label * linting * fixes line of best fit (#28) * adds option to specify bins (#30) * chore: Update VERSION to 0.0.4 (#31) * feat: Update DotPlot defaults to use square root of data length for bins (#33) * feat: Update DotPlot defaults to use square root of data length for bins * centers the x ticks * bump: Update setuptools version (#36) * bump: Update setuptools dependency to version 78.1.1 in production, staging, and testing requirements * Update VERSION * bump: setuptools to v78.1.1 (#38) * bump: setuptools to v78.1.1 * fix: resolve docs build pathing * docs: mock dependencies and fix code formatting * docs: fix build pathing and image directive formatting * revert: restore original sphinx config * docs: remove autoapi and unused extensions to fix Sphinx build * chore: format docs Sphinx config --------- Co-authored-by: Kaitlyn Alphonse <kalphonse@eci-iMac-2.local> --------- Co-authored-by: Azendae Popo <97713029+Azendae-Popo@users.noreply.github.com> Co-authored-by: Azendae Popo <apopo@ec-intl.com> Co-authored-by: Kaitlyn Alphonse <kalphonse@ec-intl.com> Co-authored-by: Kaitlyn Alphonse <kalphonse@eci-iMac-2.local> * bump: Version from 0.0.6 to 1.0.1 (#43) * fea: Adds basemap (#10) * Update the docs of the plotting and test_plotting modules * update docs workflows * Fix Sphinx render * add docs * rename plotting --> chartly * linting * Remove unused CSS and HTML files * WIP * update linting * update workflows * Update exclude_patterns in conf.py * adds manifest.in file * Adds CustomizePlot Class * update docs to reflect new changes * Adds HatchArea Class * update contour plot function * adds contour mask hatching * WIP * update tests * add basemap to chartly * Delete docs/Makefile * Delete docs/make.bat * adds basemap feature to the class * update requirements * update requirement file * linting * Add Contour Plot and Hatching to basemap * Adds annotations class to basemap * WIP * fix: resolve basemaps PR lint and dependency issues * fix: resolve basemap dependency conflict and lint issues * style: fix ci workflow yaml lint warning * refactor: remove duplicate hatch logic and apply black formatting * fix: correct ci.yml indentation * fix: resolve basemap centering issue * fix: resolve failing lint check * fix: resolve indentation error * fix: add lint spacing * fix: improve basemap robustness, hatch handling, and input validation Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * fix: resolve basemap import fallback and hatch validation issues * style: fix import ordering with isort * feat: simplify Chart public API with render and subplot helpers * feat: add basemap convenience helper to simplify Chart API * bump: upgrade numpy, basemap, and twine dependencies * bump: chartly v0.0.7 --------- Co-authored-by: Kaitlyn Alphonse <kalphonse@eci-iMac-2.local> Co-authored-by: Kaitlyn Alphonse <kalphonse@ec-intl.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * docs: simplify chartly plotting interface (#46) * docs: simplify chartly plotting interface * fix: clarify multiplots intro with new interface methods * feat: add batch subplot helper for cleaner chart interface * feat: add validated batch subplot helper and tests * docs: align subplot titles with existing example images * feat: add add_subplots helper and simplify plotting docs --------- Co-authored-by: Kaitlyn Alphonse <kalphonse@eci-iMac-2.local> * docs: update and refine README.md (#47) * docs: update and refine README.md * fix: resolve markdown lint errors * fix: markdownlint issues and formatting * docs: refine README and add basemap support --------- Co-authored-by: Kaitlyn Alphonse <kalphonse@eci-iMac-2.local> * docs: add basemap documentation and update index (#48) * docs: add basemap documentation and update index * docs: update basemap docs and move images to _static * docs: align dependency versions and spelling in basemap docs --------- Co-authored-by: Kaitlyn Alphonse <kalphonse@eci-iMac-2.local> * bump: chartly v1.1.0 (#49) * bump: setuptools to v82.0.1 (#52) * bump: setuptools to v82.0.1 * bump: setuptools in requirements.txt --------- Co-authored-by: Kaitlyn Alphonse <kalphonse@eci-iMac-2.local> * Build(deps): Bump pytest (#53) Bumps the pip group with 1 update in the /requirements directory: [pytest](https://github.com/pytest-dev/pytest). Updates `pytest` from 8.3.2 to 9.0.3 - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](pytest-dev/pytest@8.3.2...9.0.3) --- updated-dependencies: - dependency-name: pytest dependency-version: 9.0.3 dependency-type: direct:production dependency-group: pip ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Kaitlyn Alphonse <kalphonse@ec-intl.com> * bump: chartly v1.1.1 (#54) --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Azendae Popo <97713029+Azendae-Popo@users.noreply.github.com> Co-authored-by: Cheikh Mbengue <97647866+cmbengue-ec-intl@users.noreply.github.com> Co-authored-by: Azendae Popo <apopo@ec-intl.com> Co-authored-by: Kaitlyn Alphonse <kalphonse@eci-iMac-2.local> Co-authored-by: Cheikh Mbengue <cmbengue@ec-intl.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
🥇 Generic Pull Request 🥇
Elizabeth Consulting International Inc
Purpose & Objective
This PR introduces a simplified and more intuitive plotting interface for Chartly, reducing the need for loops and manual payload dictionaries in common use cases.
Previously, users were required to construct dictionaries and iterate over plots when working with subplots and overlays. This added unnecessary complexity to the public API.
This update improves the user experience by providing a cleaner, higher-level interface.
Changes
✨ New Feature
Chart.add_subplots(...)data=...)data_list=[...])📘 Documentation Updates
docs/source/Multiplots.rstadd_subplot(...)add_subplots(...)add_overlay(...)render()docs/source/index.rst🧪 Tests & Validation
data_listfor per-plot data)super_xlabel,super_ylabel)🧹 Code Quality
blackResults
Notes
pytest)sphinx-build)add_subplot,overlay, etc.)