Skip to content

Commit

Permalink
TYP: add type hints for old_camera
Browse files Browse the repository at this point in the history
  • Loading branch information
neutrinoceros committed Oct 8, 2021
1 parent bb537d0 commit 5b9dbe1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion yt/visualization/volume_rendering/old_camera.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import builtins
from copy import deepcopy
from typing import List

import numpy as np

Expand Down Expand Up @@ -1185,7 +1186,7 @@ def rotation(self, theta, n_steps, rot_vector=None, clip_ratio=None):


class InteractiveCamera(Camera):
frames = []
frames: List[ImageArray] = []

def snapshot(self, fn=None, clip_ratio=None):
self._pyplot.figure(2)
Expand Down

0 comments on commit 5b9dbe1

Please sign in to comment.