File tree 2 files changed +12
-10
lines changed
doc/api/next_api_changes/behavior
2 files changed +12
-10
lines changed Original file line number Diff line number Diff line change 1
- QuadMesh cursor data removed
2
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3
- `.QuadMesh.get_cursor_data `, introduced in 3.5.1 is unreasonably slow for
4
- large meshes, so this method has been removed.
1
+ QuadMesh mouseover defaults to False
2
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3
+
4
+ New in 3.5, `.QuadMesh.get_cursor_data ` allows display of data values
5
+ under the cursor. However, this can be very slow for large meshes, so
6
+ by `.QuadMesh.set_mouseover ` defaults to *False *.
Original file line number Diff line number Diff line change @@ -2198,9 +2198,9 @@ def draw(self, renderer):
2198
2198
self .stale = False
2199
2199
2200
2200
def get_cursor_data (self , event ):
2201
- contained , info = self .contains (event )
2202
- if len (info ["ind" ]) == 1 :
2203
- ind , = info ["ind" ]
2204
- return self .get_array ()[ind ]
2205
- else :
2206
- return None
2201
+ contained , info = self .contains (event )
2202
+ if len (info ["ind" ]) == 1 :
2203
+ ind , = info ["ind" ]
2204
+ return self .get_array ()[ind ]
2205
+ else :
2206
+ return None
You can’t perform that action at this time.
0 commit comments