python - dot dashed line touch yaxis min and max in matplotlib -


is there way vertical dot-dashed line in matplotlib touch top , bottom of yaxis? drawing 2 vertical lines, space between them, , want them touch top , bottom of yaxis. touch bottom of yaxis, touch top of yaxis of plot if change starting y-value linestyle pattern happens touch @ top. tried using ax.vlines , got same result.

maybe - there way change spacing of dot , dash in linestyle in order this?

plt.plot((55843.8747516981, 55843.8747516981), (yminplot, 4.53), linewidth=2,          linestyle='-.', color='r') plt.plot((55843.8747516981, 55843.8747516981), (7.03, ymaxplot), linewidth=2,          linestyle='-.', color='r') 

if understand correctly question, can solve changing order of how second line drawn, drawn top bottom

plt.plot((55843.8747516981, 55843.8747516981), (yminplot, 4.53), linewidth=2,          linestyle='-.', color='r') plt.plot((55843.8747516981, 55843.8747516981), (ymaxplot, 7.03), linewidth=2,          linestyle='-.', color='r') 

Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -