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

Support multiple states in vlplot #140

Merged
merged 3 commits into from
Nov 20, 2020
Merged

Support multiple states in vlplot #140

merged 3 commits into from
Nov 20, 2020

Conversation

pablosanjose
Copy link
Owner

When passing a multiply degenerate subspace s::Subspace or a matrix s::AbstractMatrix to vlplot(h, s; shaders...), each basis vector or column of s will now be summed over after applying shaders to each. This allows to visualize observables integrated over a whole subspace (e.g. summing local density over all spin flavors).

@codecov-io
Copy link

Codecov Report

Merging #140 (aa31be2) into master (8332f15) will decrease coverage by 0.08%.
The diff coverage is 37.50%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #140      +/-   ##
==========================================
- Coverage   61.03%   60.94%   -0.09%     
==========================================
  Files          16       16              
  Lines        2972     2978       +6     
==========================================
+ Hits         1814     1815       +1     
- Misses       1158     1163       +5     
Impacted Files Coverage Δ
src/plot_vegalite.jl 0.00% <0.00%> (ø)
src/tools.jl 36.84% <0.00%> (-0.17%) ⬇️
src/hamiltonian.jl 80.00% <69.23%> (-0.31%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8332f15...aa31be2. Read the comment docs.

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