3b1b / 3b1b/manim

Incorporating own code into manimlib

オープン
#1,019 コメント 10 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
93.8k
フォーク
7.7k
PR マージ指標
PR 指標を取得中

説明

I would like to add functions to the `manimlib` that are callable in any new scene class.

Therefore, I created some new classes (e.g. `class_name`) with respective functions, in `function.py` and added a map to the `manimlib` folder, say `functions`. The I added a line to the `imports.py` file found in the manimlib folder:

`from manimlib.functions.function import *
`

Now when I start a new Scene, I can indeed reach those new functions, when I type

`class_name.function_name(parameters)
`
but Visual Code does not seem to recognize those. That is, they run and they work just as they should, but Visual Studio does not auto-complete or suggest the functions or parameters. Is this solvable? Because this now takes a lot of going back and forth and the whole idea to automatize this is lost.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。