mirror of
https://github.com/3b1b/manim.git
synced 2025-04-13 09:47:07 +00:00
Include upper endpoint on graphs
This commit is contained in:
parent
0d845d5bba
commit
7c4bb9cbbd
1 changed files with 1 additions and 0 deletions
|
@ -327,6 +327,7 @@ class CoordinateSystem(ABC):
|
|||
x_range = [*x_range, dx]
|
||||
|
||||
rects = []
|
||||
x_range[1] = x_range[1] + dx
|
||||
xs = np.arange(*x_range)
|
||||
for x0, x1 in zip(xs, xs[1:]):
|
||||
if input_sample_type == "left":
|
||||
|
|
Loading…
Add table
Reference in a new issue