(self, x, y, u, v, scale, arrow_scale, angle, scaleratio=1, **kwargs)
| 128 | """ |
| 129 | |
| 130 | def __init__(self, x, y, u, v, scale, arrow_scale, angle, scaleratio=1, **kwargs): |
| 131 | try: |
| 132 | x = utils.flatten(x) |
| 133 | except exceptions.PlotlyError: |
| 134 | pass |
| 135 | |
| 136 | try: |
| 137 | y = utils.flatten(y) |
| 138 | except exceptions.PlotlyError: |
| 139 | pass |
| 140 | |
| 141 | try: |
| 142 | u = utils.flatten(u) |
| 143 | except exceptions.PlotlyError: |
| 144 | pass |
| 145 | |
| 146 | try: |
| 147 | v = utils.flatten(v) |
| 148 | except exceptions.PlotlyError: |
| 149 | pass |
| 150 | |
| 151 | self.x = x |
| 152 | self.y = y |
| 153 | self.u = u |
| 154 | self.v = v |
| 155 | self.scale = scale |
| 156 | self.scaleratio = scaleratio |
| 157 | self.arrow_scale = arrow_scale |
| 158 | self.angle = angle |
| 159 | self.end_x = [] |
| 160 | self.end_y = [] |
| 161 | self.scale_uv() |
| 162 | barb_x, barb_y = self.get_barbs() |
| 163 | arrow_x, arrow_y = self.get_quiver_arrows() |
| 164 | |
| 165 | def scale_uv(self): |
| 166 | """ |
nothing calls this directly
no test coverage detected