biocore / emperor

Emperor a tool for the analysis and visualization of large microbial ecology datasets
http://biocore.github.io/emperor/
Other
52 stars 50 forks source link

Parallel plot display looks odd when activated from a biplot, and causes issues in the scatterplot view #747

Closed fedarko closed 4 years ago

fedarko commented 4 years ago

Just ran into this today -- figured I should raise an issue here.

Steps to reproduce

  1. Open up a biplot in Emperor. I'm using the biplot produced in this notebook with this version of DEICODE, for reference.
Screen Shot 2020-01-07 at 4 28 24 PM
  1. Switch to Parallel Plot. Problem 1: first this shows a zoomed-in view of the parallel plot, which seems odd but not a huge problem.
Screen Shot 2020-01-07 at 4 30 03 PM

Problem 2: However, when you zoom out in the parallel plot view you also see that some of the arrows from the biplot are still hanging around. (My guess is that the presence of these arrows is messing with the camera somehow, but I can't confirm that.)

Screen Shot 2020-01-07 at 4 30 55 PM
  1. Switch back from Parallel Plot to Scatter. Problem 3: For some reason, one of the 3 arrows from the biplot is now missing?
Screen Shot 2020-01-07 at 4 36 50 PM

Desired behavior

Ideally:

Workaround

In practice, if parallel plots will cause lots of problems with biplots, I guess it might make sense to just temporarily disable parallel plots for biplot visualizations -- this way at least users won't run into the above problems (in particular problem 3, which IMO is the most scary). But it's not really my call :)

Thanks!

ElDeveloper commented 4 years ago

Thanks for reporting this @fedarko. @dhakim87 do you have some time to look into this issue? Looks like this may have been introduced in #727