python - Why matplotlib plot a graph have ticks line off-axis ? -


i use matplotlib plot graph on os x system,the top left corner ticks line have off-axis distribution,but,on windows,there no problem.how deal problem?

enter image description here

i have work out problem,

1.savefig() not support jpg,tif ,so if save graph use format, graph tick line off-axis.if save graph use png,eps,svg,the graph have no problem

2.show graph program have bug on os x system, no matter format of graph save,it show tick line off-axis.


Comments

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

python 3.5 - Pyqtgraph string in x tick -