lines and graphs are not shown!
- 主要語言
- Python
- 星號
- 93.9k
- 分支
- 7.7k
- 平均合併
- 2 天 13 小時
- 30 天內合併 PR
- 4
描述
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.
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
這個問題是關於在 manim 中線條與圖表未能渲染。先檢查 OpenGL 渲染器設定及顯示卡驅動相容性。查看 manim 的 Line 和 Axes 類別原始碼,並執行提供的程式碼片段來重現這個問題。驗證輸出並檢查是否有與 Intel UHD graphics renderer 相關的錯誤日誌。
由索引模型根據 Issue 內容生成。
評估
- 領域
- computer-graphics
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 描述清楚
- 新手友好度
- 45/100