Is there an equivalent command in Bokeh or the options for a BokehJS plot that hides everything except for the plotted data?
By “hides everything”, I mean the behavior of matplotlib’s axis(‘off’) command, which leaves nothing but the data you have plotted, omitting grids, axes, axis ticks, headers, titles, legends, etc.
Some things have not been completely documented well because we are not entirely happy with the spelling yet. But assuming you are using the bokeh.plotting interface, you can create your figure like this:
p = figure(x_axis_type=None, y_axis_type=None, toolbar_location=None, outline_line_color=None)
That will result in no axes/grids, toolbar, or plot outline.
If you are using the low level "glyphs" interface you can simply just never add axes or grids, and set the toolbar location and outline color to None on the Plot directly.
Is there an equivalent command in Bokeh or the options for a BokehJS plot that hides everything except for the plotted data?
By "hides everything", I mean the behavior of matplotlib's axis('off') command, which leaves nothing but the data you have plotted, omitting grids, axes, axis ticks, headers, titles, legends, etc.
Oh, also add "title=None" to suppress the default title "Plot".
Bryan
···
On Dec 31, 2014, at 5:10 PM, Bryan Van de Ven <[email protected]> wrote:
Some things have not been completely documented well because we are not entirely happy with the spelling yet. But assuming you are using the bokeh.plotting interface, you can create your figure like this:
p = figure(x_axis_type=None, y_axis_type=None, toolbar_location=None, outline_line_color=None)
That will result in no axes/grids, toolbar, or plot outline.
If you are using the low level "glyphs" interface you can simply just never add axes or grids, and set the toolbar location and outline color to None on the Plot directly.
Is there an equivalent command in Bokeh or the options for a BokehJS plot that hides everything except for the plotted data?
By "hides everything", I mean the behavior of matplotlib's axis('off') command, which leaves nothing but the data you have plotted, omitting grids, axes, axis ticks, headers, titles, legends, etc.
On Wed, Dec 31, 2014 at 6:11 PM, Bryan Van de Ven [email protected] wrote:
Oh, also add “title=None” to suppress the default title “Plot”.
Bryan
On Dec 31, 2014, at 5:10 PM, Bryan Van de Ven [email protected] wrote:
Some things have not been completely documented well because we are not entirely happy with the spelling yet. But assuming you are using the bokeh.plotting interface, you can create your figure like this:
p = figure(x_axis_type=None, y_axis_type=None, toolbar_location=None, outline_line_color=None)
That will result in no axes/grids, toolbar, or plot outline.
If you are using the low level “glyphs” interface you can simply just never add axes or grids, and set the toolbar location and outline color to None on the Plot directly.
Is there an equivalent command in Bokeh or the options for a BokehJS plot that hides everything except for the plotted data?
By “hides everything”, I mean the behavior of matplotlib’s axis(‘off’) command, which leaves nothing but the data you have plotted, omitting grids, axes, axis ticks, headers, titles, legends, etc.
Is this possible?
–
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 [email protected].