Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add type hints #146

Merged
merged 19 commits into from
May 18, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
error after rebase
Conengmo committed May 18, 2024
commit d59cee901bd1768385e8c79900cf9a0c04c7b925
4 changes: 0 additions & 4 deletions branca/colormap.py
Original file line number Diff line number Diff line change
@@ -110,12 +110,8 @@ def __init__(
self.vmin = vmin
self.vmax = vmax
self.caption = caption
<<<<<<< HEAD
self.text_color = text_color
self.index = [vmin, vmax]
=======
self.index: List[float] = [vmin, vmax]
>>>>>>> ec6251d... utilities.py wip
self.max_labels = max_labels
self.tick_labels: Optional[Sequence[Union[float, str]]] = None