Skip to content

Commit 7dd9bb6

Browse files
abul4fiabehacklAdrien-LUDWIG
authored
Minor fix, return self (ManimCommunity#3236)
* Small fix in the code of ArcBrace Avoiding the creation of an Arc object at import time * Replace last `os.path` occurrencies by `pathlib` (ManimCommunity#3224) This resolves [last comment](ManimCommunity#485 (comment)) of ManimCommunity#485. Removes one line of dead code. Co-authored-by: Benjamin Hackl <[email protected]> * Made docbuild errors easier to debug + fixed error from changed exception class (ManimCommunity#3229) * Make errors during docbuild somewhat easier to debug * fix an issue with docbuild under py3.10+ * Make set_resampling_algorithm() return self --------- Co-authored-by: Benjamin Hackl <[email protected]> Co-authored-by: Adrien ANTON LUDWIG <[email protected]>
1 parent bc6ff34 commit 7dd9bb6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

manim/mobject/types/image_mobject.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ def set_resampling_algorithm(self, resampling_algorithm: int):
8484
"Available algorithms: 'bicubic', 'nearest', 'box', 'bilinear', "
8585
"'hamming', 'lanczos'.",
8686
)
87+
return self
8788

8889
def reset_points(self):
8990
# Corresponding corners of image are fixed to these 3 points

0 commit comments

Comments
 (0)