mila-iqia / blocks-extras

A collection of extensions to the Blocks framework
MIT License
27 stars 40 forks source link

Error check channel specs in Plot #31

Open dwf opened 8 years ago

dwf commented 8 years ago

When called with simply a list of channel names, the right number of plots are created, but I get all sorts of these errors with the text:

ERROR(...): Plot has no glyph renderers: Figure, ViewModel:Plot, ref _id: ....

I think this has turned out to be because I was passing a list rather than a list with one element that is a list. It would be nice if there was more error checking for channel specifications.

rizar commented 8 years ago

Did you read https://github.com/mila-udem/blocks-extras/pull/24#issuecomment-146964420?

On 30 October 2015 at 17:21, David Warde-Farley notifications@github.com wrote:

When called with simply a list of channel names, the right number of plots are created, but I get all sorts of these errors with the text:

ERROR(...): Plot has no glyph renderers: Figure, ViewModel:Plot, ref _id: ....

— Reply to this email directly or view it on GitHub https://github.com/mila-udem/blocks-extras/issues/31.

dwf commented 8 years ago

I did, I didn't have any idea at the time. But it seems to be the result of having nothing to display because the channel specs are wrong.

rizar commented 8 years ago

I don't think it is a problem with channel specs. It is just that when you have nothing to display in your log it prints this convoluted error message.

On 2 November 2015 at 11:15, David Warde-Farley notifications@github.com wrote:

I did, I didn't have any idea at the time. But it seems to be the result of having nothing to display because the channel specs are wrong.

— Reply to this email directly or view it on GitHub https://github.com/mila-udem/blocks-extras/issues/31#issuecomment-153070388 .

nkeilar commented 8 years ago

I was still getting this error today. In addition plots were not rendering.

rizar commented 8 years ago

What is your Bokeh version? Do you run your script or the MNIST demo?

On 2 January 2016 at 04:25, Nathan Keilar notifications@github.com wrote:

I was still getting this error today. In addition plots were not rendering.

— Reply to this email directly or view it on GitHub https://github.com/mila-udem/blocks-extras/issues/31#issuecomment-168375078 .