Aug-14-2020, 05:50 PM
Dean
I had previously tried what you are suggesting:
I had previously tried what you are suggesting:
def showEvents(ax, events): for ev in events.values(): ax.axvlines(ev[6], ev[1], ev[2], color = ev[3], \ linestyle = ev[4], marker = ev[5], label = ev[0])and then call it as
showEvents(ax1, allEvents)and receive the error
Error: ax.axvlines(ev[6], ev[1], ev[2], color = ev[3], \
AttributeError: 'AxesSubplot' object has no attribute 'axvlines'
I had hoped that doing the eval of the concatenation would resolve the issue. But it does not.