altair-viz / jupyterlab_voyager

JupyterLab extension visualize data with Voyager
BSD 3-Clause "New" or "Revised" License
298 stars 35 forks source link

Related Views Collapsed By Default #49

Open ryarco opened 6 years ago

ryarco commented 6 years ago

I just got jupyterlab_voyager_test-0.1.6.tgz running at it confused me why it didn't seem to work like the demo here. I finally worked out that the "Related Views" pane is collapsed by default. I think it would make sense to have it expanded by default as per the link above.

zzhangjii commented 6 years ago

The default Voyager interface doesn't quite fit inside JupyterLab, so we changed the default setting to the following to save spaces: showDataSourceSelector: false, hideHeader: true, hideFooter: true, relatedViews: 'initiallyCollapsed', wildcards: 'enabled'

In the future, we can provide a change setting button for user to customize those options

ellisonbg commented 6 years ago

The other issue we ran into is that the related views have a significant performance impact (CPU/RAM scales roughly linearly with the numbers of views). For larger datasets, it quickly becomes a problem.

On Mon, Jun 4, 2018 at 9:36 AM, Ji Zhang notifications@github.com wrote:

The default Voyager interface doesn't quite fit inside JupyterLab, so we changed the default setting to the following to save spaces: showDataSourceSelector: false, hideHeader: true, hideFooter: true, relatedViews: 'initiallyCollapsed', wildcards: 'enabled'

In the future, we can provide a change setting button for user to customize those options

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/altair-viz/jupyterlab_voyager/issues/49#issuecomment-394419447, or mute the thread https://github.com/notifications/unsubscribe-auth/AABr0KELAwrXlGoHAUilhcTGnh8jarxIks5t5WIngaJpZM4UZD1m .

-- Brian E. Granger Associate Professor of Physics and Data Science Cal Poly State University, San Luis Obispo @ellisonbg on Twitter and GitHub bgranger@calpoly.edu and ellisonbg@gmail.com

ryarco commented 6 years ago

Ah, I figured it was likely a performance issue. May I suggest adding a bit of text to the introduction in the Simplified View panel as shown below in bold for us noobs:

No specified visualisation yet. Start exploring by dragging a field to encoding pane on the left or examining univariate summaries in the Related Views pane below