dd
navis.plotting.dd.Matplotlib2dSettings
dataclass
#
Additional plotting parameters for Matplotlib 2d backend.
Source code in navis/plotting/settings.py
127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 |
|
navis.plotting.dd.color_to_cmap
#
Convert single color to color palette.
Source code in navis/plotting/dd.py
855 856 857 858 859 860 861 |
|
navis.plotting.dd.proj_points
#
Project points using a projection matrix.
This was previously done using the analagous function mpl_toolkits.mplot3d.proj3d.proj_points but that is deprecated.
Source code in navis/plotting/dd.py
1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 |
|
navis.plotting.dd.segments_to_coords
#
Turn lists of node IDs into coordinates.
Will use navis-fastcore if available.
PARAMETER | DESCRIPTION |
---|---|
x |
TYPE: |
node_colors |
TYPE: |
modifier |
TYPE: |
RETURNS | DESCRIPTION |
---|---|
coords | [(x, y, z), (x, y, z), ... ] TYPE: |
colors | If TYPE: |
Source code in navis/plotting/plot_utils.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 |
|
navis.plotting.dd.tn_pairs_to_coords
#
Return pairs of child->parent node coordinates.
PARAMETER | DESCRIPTION |
---|---|
x |
TYPE: |
modifier |
TYPE: |
RETURNS | DESCRIPTION |
---|---|
coords |
|
Source code in navis/plotting/plot_utils.py
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 |
|
navis.plotting.dd.update_axes3d_bounds
#
Update axis bounds and remove default points (0,0,0) and (1,1,1).
Source code in navis/plotting/dd.py
1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 |
|