lines and graphs are not shown!
See original GitHub issueI 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® UHD.
Issue Analytics
- State:
- Created 2 years ago
- Comments:18 (6 by maintainers)
Top Results From Across the Web
Line not visible on chart | MrExcel Message Board
First change the axis on the right to start at 0, and see if you can then see the line. If so, it's...
Read more >How to correct a Line chart with no line on the chart in Excel
Many a times you find that there are no lines in your line chart in the Excel, it is very weird and difficult...
Read more >Excel Line graph not displaying all data - Microsoft Community
I have a line graph with the following Data selected: Apr-16 87.50 95.24 93.33 100.00 May-16 ... Excel Line graph not displaying all...
Read more >line graph not showing all data - Statalist
I have created a series of line graphs that are by(state). ... and year but Connecticut is showing no lines and has data...
Read more >lines not showing up on line graph in R when using plot() then ...
In your plot statement you have a x and y component (re_date, date_sub$Sub_metering_1). When you call lines you only provide y. R does...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is my new one. I’ve written my solution here. Please check it out.
Can you try
python -m moderngl
in both cases? Can you try installing mesa to see if it makes it work on Windows?