Skip to content
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

Replot #36

Merged
merged 5 commits into from
Aug 16, 2024
Merged

Replot #36

merged 5 commits into from
Aug 16, 2024

Conversation

davibarreira
Copy link
Owner

"""
replot(plt1::Plot, plt2::Plot)

Place the graphic of plt2 over plt1.
"""
function replot(plt1::Plot, plt2::Plot)
encodings = NamedTupleTools.rec_merge(plt1.spec.encodings, plt2.spec.encodings)
plt2 = @set plt2.spec.encodings = encodings
plt2 = @set plt2.spec.config = (; guide=NilD())
return plt1 + plt2
end
function Base.:∘(plt1::Plot, plt2::Plot)
return replot(plt1, plt2)
end

Copy link

codecov bot commented Aug 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.41%. Comparing base (5322009) to head (ae91462).
Report is 6 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #36      +/-   ##
==========================================
+ Coverage   71.53%   72.41%   +0.88%     
==========================================
  Files          68       69       +1     
  Lines        2392     2411      +19     
==========================================
+ Hits         1711     1746      +35     
+ Misses        681      665      -16     

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

@davibarreira davibarreira merged commit 19f0169 into master Aug 16, 2024
5 checks passed
@davibarreira davibarreira deleted the plot! branch August 21, 2024 13:39
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.

1 participant