ম্যাটপ্লটলিব Cursor
🌈ম্যাটপ্লটলিব Cursor কি?
📋ম্যাটপ্লটলিব Cursor হলো কার্সার তৈরি করার পদ্ধতি।
⚒️ম্যাটপ্লটলিব Cursor কার্সার তৈরি করতে ব্যবহৃত হয়।
ম্যাটপ্লটলিব Cursor কার্সার তৈরি করার উদাহরণ।
matplotlib
import matplotlib.pyplot as plt
from matplotlib.widgets import Cursor
figure, axes = plt.subplots()
axes.plot(
[1, 2, 3, 4],
[2, 5, 3, 8]
)
cursor = Cursor(
axes,
useblit=True,
color="red"
)
plt.show()