123456789 |
- def music_visualize_2d(self):
- t = np.linspace(0, 2 * np.pi, self.window)
- fig = plt.figure(facecolor='black')
- ax = fig.gca(projection='polar')
- ax.set_axis_off()
- lf, = ax.plot(t, np.zeros(self.window), lw=1, color='lightblue')
- plt.pause(self.record_delay)
-
|