Python Wand конвертировать PDF в PNG отключить прозрачный (alpha_channel)

mplcursors работали для меня. mplcursors предоставляет интерактивную аннотацию для matplotlib. Он сильно вдохновлен mpldatacursor ( https://github.com/joferkington/mpldatacursor ) с гораздо упрощенным API

import matplotlib.pyplot as plt
import numpy as np
import mplcursors

data = np.outer(range(10), range(1, 5))

fig, ax = plt.subplots()
lines = ax.plot(data)
ax.set_title("Click somewhere on a line.\nRight-click to deselect.\n"
             "Annotations can be dragged.")

mplcursors.cursor(lines) # or just mplcursors.cursor()

plt.show()

16
задан Munro 7 January 2015 в 19:10
поделиться