Add palette choice to plot layers #48

Open
opened 2020-11-15 12:38:13 +00:00 by phryk · 0 comments
phryk commented 2020-11-15 12:38:13 +00:00 (Migrated from rnd.phryk.net)

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
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: phryk-evil-mad-sciences-llc/poobrains#48
No description provided.