···
On Mon, Sep 29, 2014 at 2:42 PM, Kamil Kloch kamil.kloch@gmail.com wrote:
Thanks! I needed it in bokeh-scala, and here
.toolbar_location(Location.Auto)
worked 
Sorry, I forgot that this is Scala-related. This solution works by accident, because plot’s frame simply ignores invalid values for toolbar_location field and ‘auto’ doesn’t have currently any meaning (it really shouldn’t be a member of this enum). The proper way to do it is as follows:
new Plot().toolbar_location()
This is exactly equivalent to Python’s Plot(toolbar_location=None). This is because, on the most basic level, fields are implemented as:
class Field[T] {
private var value: Option[T] = _
def apply(value: T) { this.value = Some(value) }
def apply() { this.value = None }
}
I don’t give direct access to the Option[T], just to T, because I’m not sure yet how to implement optional fields properly.
Mateusz
On Monday, September 29, 2014 12:42:55 PM UTC+2, mateusz.paprocki wrote:
Hi,
On Mon, Sep 29, 2014 at 12:06 PM, Kamil Kloch kamil...@gmail.com wrote:
Hi all,
is there a way to completety disable bokeh toolbar for some plots, remove the helper button or the Bokeh logo? We are trying to set up a dense fact-sheet consisting of multiple bokeh widgets and the result is not very pleasing due to visual clutter.
Nothing against a (very nice) bokeh logo/helper toolbar, we just cannot accept it on every single plot 
Set plot.toolbar_location = None.
Mateusz
Best,
Kamil
–
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/27932ada-3e97-42f8-9052-07e14f968e31%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+unsubscribe@continuum.io.
To post to this group, send email to bokeh@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/9b2b3317-bbad-470a-95e0-fb825b617b5a%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.