question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`bokeh.plotting.figure()` doesn't like single-quotes in the args.

See original GitHub issue

READ AND FOLLOW THESE INSTRUCTIONS CAREFULLY

ISSUES THAT DO NOT CONTAIN NECESSARY INFORMATION MAY BE CLOSED, IMMEDIATELY

The issue tracker is NOT the place for general support. For questions and technical assistance, come ask the Bokeh mailing list or join the chat on Gitter. For feature requests, please provide a detailed description or proposal of the new capability or behavior.

For defects or deficiencies, please provide ALL OF THE FOLLOWING:

ALL software version info (bokeh, python, notebook, OS, browser, any other relevant packages)

λ python --version && ipython --version && jupyter notebook --version && bokeh --version
Python 3.6.6 :: Anaconda, Inc.
6.5.0
5.6.0
0.13.0

Then Windows 10 and firefox for the browser.

Description of expected behavior and the observed behavior

already wrote all this: https://stackoverflow.com/a/52131638/6293857

Complete, minimal, self-contained example code that reproduces the issue

# (In `jupyter notebook`)
from bokeh.io import output_notebook, show
from bokeh.plotting import figure
output_notebook()

p = figure(plot_width=400, plot_height=400)
p.circle([1, 2, 3, 4, 5], [6, 7, 2, 4, 5],
         size=15,
         line_color='navy',
         fill_color='organge',
         fill_alpha=0.5
        )
show(p)

This spits out:

ERROR:bokeh.core.validation.check:E-1001 (BAD_COLUMN_NAME): Glyph refers to nonexistent column name: organge [renderer: GlyphRenderer(id='08fdc635-20f8-474d-b923-e36e40f68628', ...)]

Stack traceback and/or browser JavaScript console output

See above^^

Screenshots or screencasts of the bug in action

Everything is here: https://stackoverflow.com/a/52131638/6293857

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
rtruxalcommented, Sep 13, 2018

@bryevdv thank you I take back what I said. ^__^ Just being pissy.

1reaction
mattpapcommented, Sep 1, 2018

It would be nice to use difflib to help with such obvious spelling mistakes, similarly to what we do in HasProps.__setattr__().

Read more comments on GitHub >

github_iconTop Results From Across the Web

figure — Bokeh 2.4.1 Documentation
A subclass of Plot that simplifies plot creation with default axes, grids, tools, etc. Figure objects have many glyph methods that can be...
Read more >
Bokeh plot doesn't show - Stack Overflow
I'm looking to build a slider with bokeh like this one: However, when I copy and paste the code block from the link...
Read more >
Python Strings - javatpoint
In Python, strings can be created by enclosing the character or the sequence of characters in the quotes. Python allows us to use...
Read more >
Bokeh span - miocittadino.it
Add all kinds of text like captions, quotes, songs… to your bokeh photo with add ... plotting import figure output_notebook() import numpy as...
Read more >
plotly tight layout
The axes in a subplot can be renamed using the layout() command, just like in a single plot; however, there are multiple x-axes...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found