3b1b / 3b1b/manim

Code Class not work

Aperta
#2,355 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
Python
Stelle
93.8k
Fork
7.7k
Metriche di merge delle PR
Metriche PR in attesa

Descrizione

### Describe the bug
the Code Class not work. just raise Exception.

class DemoScene(Scene):

def construct(self):

c = Code('sorted(iterable, key=None, reverse=False)')
self.play(FadeIn(c))

self.wait()

**Wrong display or Error traceback**:

### Additional context

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

The issue mentions the Code class raising an exception when used with a simple string. Look at the Code class implementation in manim, likely in a file like manim/mobject/code.py or similar. Run the provided demo scene to see the exact error traceback. Investigate how Code parses and renders the input string, and check for any missing dependencies or incorrect initialization.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
python
Ambito
backend
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.