# Revision history [back]

In matplotlib you can use for example the link

http://www.shocksolution.com/2011/08/removing-an-axis-or-both-axes-from-a-matplotlib-plot/

In Sage you can use a workaround:

p=plot(sin,ticks=[0.2,[]])
p+=arrow((-1,0),(1,0),ticks=[0.2,[]],color='black')
p.axes_color('white')
p.show()


In matplotlib you can use for example the link

http://www.shocksolution.com/2011/08/removing-an-axis-or-both-axes-from-a-matplotlib-plot/

In Sage you can use a workaround:

p=plot(sin,ticks=[0.2,[]])
p+=arrow((-1,0),(1,0),ticks=[0.2,[]],color='black')
p+=arrow((-1,-0.01),(1,-0.01),ticks=[0.2,[]],color='black')
p.axes_color('white')
p.axes_width(0.1)
p.show()


In matplotlib you can use for example the link

http://www.shocksolution.com/2011/08/removing-an-axis-or-both-axes-from-a-matplotlib-plot/

In Sage you can use a workaround:

p=plot(sin,ticks=[0.2,[]]) p=plot(sin,ticks=[0.2,[]],thickness=3)
p+=arrow((-1,-0.01),(1,-0.01),ticks=[0.2,[]],color='black')
p.axes_color('white')
p.axes_width(0.1) p.axes_width(0.01)
p.show()


In matplotlib you can use for example the link

http://www.shocksolution.com/2011/08/removing-an-axis-or-both-axes-from-a-matplotlib-plot/

In Sage you can use a workaround:

p=plot(sin,ticks=[0.2,[]],thickness=3) p=plot(sin,ticks=[0.2,[]],thickness=3,zorder=20)
p+=arrow((-1,-0.01),(1,-0.01),ticks=[0.2,[]],color='black')
p.axes_color('white')
p.axes_width(0.01)
p.show()

p.show()

In matplotlib you can use for example the link

http://www.shocksolution.com/2011/08/removing-an-axis-or-both-axes-from-a-matplotlib-plot/

In Sage you can use a workaround:

p=plot(sin,ticks=[0.2,[]],thickness=3,zorder=20)
p+=arrow((-1,-0.01),(1,-0.01),ticks=[0.2,[]],color='black')
p.axes_color('white')
p.axes_width(0.01)
p.show()p.show()


In matplotlib you can use for example the link

http://www.shocksolution.com/2011/08/removing-an-axis-or-both-axes-from-a-matplotlib-plot/

In Sage you can use a workaround:

p=plot(sin,ticks=[0.2,[]],thickness=3,zorder=20)
p+=arrow((-1,-0.01),(1,-0.01),ticks=[0.2,[]],color='black')
p+=arrow((-1,0),(1,0),ticks=[0.2,[]],color='black',zorder=10)
p.axes_color('white')
p.axes_width(0.01)
p.show()