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.
VegaLite struggles with complex plots. This is a problem when plotting eigenstates of large systems. The situation can be alleviated when the eigenstates have many values very close to zero encoded with
sitesize
invlplot
that in principle should not be plotted. However, to makevlplot
faster it is necessary to explicitly exclude these table entries from the data passed to@vlplot
.This PR allows one to exclude these entries by passing a
mindiameter
, that is complementary tomaxdiameter
. For it to be useful for performance it probably needs to be used together withplotlinks = false
.Without
mindiameter
(slow)With
mindiameter
(fast)This PR adds an unrelated enhacement that allows to pass
ψ
as aSubspace
(as produced e.g. byspectrum
). If the subspace is degenerate, the first component is plotted for the moment. In the future we would need to sum over base components.It also includes a fix for
ArnoldiPackageMethod
(blush!)