commit cdd47c1437467d3ad19df08bc7c85dea8109764d
parent 62075e92f0ea9b841f63a0d0a7602ae19f08d72c
Author: Shivakumar <[email protected]>
Date: Mon, 9 Jun 2025 11:06:15 +0530
make .gitignore file
Diffstat:
2 files changed, 5 insertions(+), 15 deletions(-)
diff --git a/.gitignore b/.gitignore
@@ -0,0 +1,5 @@
+# python
+__pycache__/
+
+# macos
+.DS_Store
diff --git a/main.py b/main.py
@@ -1,15 +0,0 @@
-import matplotlib.pyplot as plt
-import numpy as np
-
-
-def plot_curve(a, b):
-
- y, x = np.ogrid[-10:10:100j, -10:10:100j]
-
- plt.contour(x.ravel(), y.ravel(), pow(y, 2) - pow(x, 3) - x * a - b, [0])
- plt.grid()
- plt.show()
-
-
-if __name__ == "__main__":
- plot_curve(0, 7)