Skip to content

Add specialised type handling for vector of vectors #5101

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from

Conversation

InfiniteChai
Copy link
Contributor

Description

Just getting myself familiar with the Plots.jl library and so thought I would try and fix some of the outstanding bugs to help me with that.

This looks to fix #4777 by introducing a specialisation for vector of vectors, applying recipes in a similar fashion to the AbstractArray handling.

Added unit testing to verify behaviour within the bug works. Have also tested manually that consistent behaviour applies for array type recipes (https://docs.juliaplots.org/stable/gallery/gr/generated/gr-ref045/).

@InfiniteChai
Copy link
Contributor Author

Looking into test failures at the moment

@t-bltg
Copy link
Member

t-bltg commented Jun 9, 2025

Please be aware that the master branchs corresponds to Plots 1.X and the current dev effort is oriented towards Plots 2.X in the v2 branch.
Hence, contribution to v2 is preferred, and backporting to master should follow if needed.

@InfiniteChai
Copy link
Contributor Author

Thanks @t-bltg - I saw that was happening, but wasn't sure whether it was at a stage to go straight onto v2. I'll regenerate the PR for v2 instead then.

Copy link

codecov bot commented Jun 9, 2025

Codecov Report

Attention: Patch coverage is 92.85714% with 2 lines in your changes missing coverage. Please review.

Project coverage is 89.83%. Comparing base (fa65e7d) to head (73886d9).
Report is 45 commits behind head on master.

Files with missing lines Patch % Lines
RecipesPipeline/src/type_recipe.jl 92.85% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5101      +/-   ##
==========================================
+ Coverage   89.77%   89.83%   +0.06%     
==========================================
  Files          40       40              
  Lines        8780     8852      +72     
==========================================
+ Hits         7882     7952      +70     
- Misses        898      900       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants