Armen,
Very sorry, introduced a change in 0.5.2 that broke xaxis() and yaxis(). I am going to push a fix with a test this morning, and we will get a new release or replacement of some sort out soon. In the mean time, if you can replace the functions in bokeh/plotting.py with these you should be good to go.
def xaxis():
""" Get the current axis objects
Returns:
Returns axis object or splattable list of axis objects on the current plot
"""
p = curplot()
if p is None:
return None
axis = [obj for obj in p.above + p.below if isinstance(obj, Axis)]
return _list_attr_splat(axis)
def yaxis():
""" Get the current `y` axis object(s)
Returns:
Returns y-axis object or splattable list of y-axis objects on the current plot
"""
p = curplot()
if p is None:
return None
axis = [obj for obj in p.left + p.right if isinstance(obj, Axis)]
return _list_attr_splat(axis)
Bryan
On Aug 16, 2014, at 1:11 AM, Armen Alexanian armenal...@gmail.com wrote:
Hi,
Previously, the below statements would hide my axes lines and ticks, but now with the new 0.5.2, they aren’t hidden.
axis().axis_line_color = None
xaxis().major_label_text_color = None
axis().major_tick_line_color = None
Is there a new way to hide them?
Thanks very much!
Armen
–
You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.
To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+un...@continuum.io.
To post to this group, send email to bo...@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/3cfe2860-0cf4-4791-8196-61927e60dee9%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
–
You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.
To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+un...@continuum.io.
To post to this group, send email to bo...@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/DC7139F3-8A7C-4F41-B103-B64D01A87F60%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.