Make interactive visualization example optional-dependency-safe for examples verification - #1338
Merged
Merged
Conversation
Closed
Agent-Logs-Url: https://github.com/SkBlaz/py3plex/sessions/520d56eb-e9a7-4001-a6a9-42cad607deb2 Co-authored-by: SkBlaz <10035780+SkBlaz@users.noreply.github.com>
This reverts commit ca1540d. Co-authored-by: SkBlaz <10035780+SkBlaz@users.noreply.github.com>
Agent-Logs-Url: https://github.com/SkBlaz/py3plex/sessions/520d56eb-e9a7-4001-a6a9-42cad607deb2 Co-authored-by: SkBlaz <10035780+SkBlaz@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Verify that all examples work properly
Make interactive visualization example optional-dependency-safe for examples verification
Apr 8, 2026
SkBlaz
marked this pull request as ready for review
April 9, 2026 15:46
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.
The examples verification issue was caused by an interactive visualization example hard-failing when
plotlyis not installed. This made examples checks brittle in environments that intentionally omit optional visualization deps.Example behavior update (optional dependency handling)
examples/visualization/example_interactive_multilayer.pyto treat missingplotlyas a graceful skip (exit code0) instead of an error exit.Regression coverage for the specific failure mode
tests/test_example_interactive_multilayer.pyto execute the example in a subprocess and assert non-failing behavior under standard example-test environment settings.