lines and graphs are not shown!
- Ngôn ngữ chính
- Python
- Star
- 93.8k
- Fork
- 7.7k
- Chỉ số merge pull request
- Chỉ số pull request đang chờ
Mô tả
I am running the following codes and it seems manim has an issue with lines and graphs illustrations.
```
class CreateLine(Scene):
def construct(self):
start=(0,0,0)
end=(4,0,0)
line=Line(start, end)
self.play(ShowCreation(line))
```
```
class PlotSin(Scene):
def construct(self):
axes = Axes((-3, 10), (-1, 8),
axis_config={
"stroke_color": GREY_A,
"stroke_width": 2,
"fill_opacity": 1,
}
)
axes.add_coordinate_labels()
self.play(Write(axes, lag_ratio=0.01, run_time=1))
# Axes.get_graph will return the graph of a function
sin_graph = axes.get_graph(
lambda x: 2 * math.sin(x),
color=BLUE,
)
sin_label = axes.get_graph_label(sin_graph, "\\sin(x)")
self.play(
ShowCreation(sin_graph),
FadeIn(sin_label, RIGHT),
)
```
I should mention that I have OpenGL V4.6 installed on my laptop and my graphic renderer is Intel(R) UHD.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.