navis 1.4.0
  • Install
  • Quickstart
  • Tutorials
  • API
  • Changelog
  • Github
  • Ecosystem
  • Site
    • Page
        • navis.Viewer.set_colors
          • Viewer.set_colors()

    navis.Viewer.set_colors¶

    Viewer.set_colors(c, include_connectors=False)[source]¶

    Set neuron color.

    Parameters:

    c (tuple | dict) –

    RGB color(s) to apply. Values must be 0-1. Accepted:
    1. Tuple of single color. Applied to all visible neurons.

    2. Dictionary mapping skeleton IDs to colors.

    Back to top

    Source

    © Copyright 2018, Philipp Schlegel.
    Created using Sphinx 5.3.0.