[go: nahoru, domu]

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

Global options #358

Closed
kevinrue opened this issue Feb 8, 2020 · 1 comment
Closed

Global options #358

kevinrue opened this issue Feb 8, 2020 · 1 comment

Comments

@kevinrue
Copy link
Member
kevinrue commented Feb 8, 2020

Is your feature request related to a problem? Please describe.
At the moment, downsampling is disabled in default panel settings, and must be enabled in each panel individually during the app preconfiguration.

Describe the solution you'd like
Allow the user to set (and examine) a variety of global options which affect the way in which the various panel constructors initialize the default settings.
Essentially a wrapper around ?options.
In addition to downsampling, this could also be used to set a different default value for other fields, e.g.:

  • .organizationHeight
  • .organizationWidth
  • .selectParamBoxOpen
  • .dataParamBoxOpen
  • .colorByDefaultColor
  • .selectColor
  • .selectTransAlpha
  • .visualParamBoxOpen
  • .contourAdd
  • .contourColor
  • .plotPointSize
  • .plotPointAlpha
  • .plotPointDownsample
  • .plotPointSampleRes
  • .plotFontSize
  • .plotLegendPosition

Essentially, any field that does not depend on the contents of se.

Describe alternatives you've considered
Modes can address this to some extent.

Additional context
n/a

@LTLA
Copy link
Member
LTLA commented Feb 8, 2020

It is best that this has its effect during Panel construction, so as to ensure that people trying to reproduce app state do not have to worry about setting or unsetting the global parameters.

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

No branches or pull requests

2 participants