Skip to content

Commit 9d3a007

Browse files
committed
I need to use precommit
1 parent c60fe31 commit 9d3a007

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

fastplotlib/graphics/features/_mesh.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,9 @@ def set_value(self, graphic, value: np.ndarray | Sequence):
263263
geometry.indices = pygfx.Buffer(arr)
264264

265265
geometry.positions.data[: len(positions)] = positions
266-
geometry.positions.data[len(positions) :] = positions[-1] if len(positions) else (0, 0, 0)
266+
geometry.positions.data[len(positions) :] = (
267+
positions[-1] if len(positions) else (0, 0, 0)
268+
)
267269
geometry.positions.draw_range = 0, len(positions)
268270
geometry.positions.update_full()
269271

fastplotlib/layouts/_plot_area.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ def background_color(self, colors: str | tuple[float]):
286286
def ambient_light(self) -> pygfx.AmbientLight:
287287
"""the ambient lighting in the scene"""
288288
return self._ambient_light
289-
289+
290290
@property
291291
def directional_light(self) -> pygfx.DirectionalLight:
292292
"""the directional lighting on the camera in the scene"""

0 commit comments

Comments
 (0)