Convert min/max limits to center and range.
(dmin, dmax)
| 2068 | """Test mouse panning using the middle mouse button.""" |
| 2069 | |
| 2070 | def convert_lim(dmin, dmax): |
| 2071 | """Convert min/max limits to center and range.""" |
| 2072 | center = (dmin + dmax) / 2 |
| 2073 | range_ = dmax - dmin |
| 2074 | return center, range_ |
| 2075 | |
| 2076 | fig = plt.figure() |
| 2077 | ax = fig.add_subplot(projection='3d') |
no outgoing calls
no test coverage detected
searching dependent graphs…