Add palette choice to plot layers #48

Open
by phryk opened 1 year ago · 0 comments
phryk commented 1 year ago (Migrated from rnd.phryk.net)
Owner

Needs to be added in poobrains.analysis.visualization.Plot subclasses' editor_layer_fieldsets.

Needs to have validation/filtering for valid palettes.

For example, bi-column chloropleths can't use the same palettes as uni-columnar ones.

  • filter in __init__ if chloropleth already active
  • validate in .process
    • if invalid
      • choose first valid palette value (& add warning flash)
      • otherwise process normally, but:
        • don't change plot-action so the current step is

How to determine palette validity? required kwargs as list of strings?

Needs to be added in `poobrains.analysis.visualization.Plot` subclasses' `editor_layer_fieldset`s. Needs to have validation/filtering for valid palettes. For example, bi-column chloropleths can't use the same palettes as uni-columnar ones. * filter in `__init__` if chloropleth already active * validate in `.process` * if invalid * choose first *valid* palette value (& add warning flash) * otherwise process normally, **but**: * **don't** change `plot-action` so the current step is How to determine palette validity? required kwargs as list of strings?
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.