Posts

Showing posts from December 22, 2018

Bokeh Hovertool for patch

Image
1 Is the hover tool for patch different than other glyphs? The plot can see the index for circle but not for patch. output_file("patch.html") TOOLTIPS = [ ("index", "$index"), ] p = figure(plot_width=400, plot_height=400, tooltips=TOOLTIPS, tools='hover,help') # add a patch renderer with an alpha an line width p.patch([1, 2, 3, 4, 5], [6, 7, 8, 7, 3], alpha=0.5, line_width=2) p.circle([2], [4],size=20, line_width=2) show(p) bokeh share | improve this question asked Nov 19 at 23:05 pierre 680 6 10 ...

Is there a reason the British omit the article when they “go to hospital”?

Image
67 14 Why do British speakers omit the article in constructions like "go to hospital" or "go on holiday"? Pretty much all American speakers would rephrase those as "go to the hospital" and "go on a holiday", I think. Is there any good reason, or forgotten sense behind those words that might explain why the articles are ommitted? Are there other common constructions other than those two that the British use that drop the article? EDIT : I just realized per Kosmonaut's comment that Americans do much the same thing with a few nouns, so this isn't all that special. Do grammaticists designate nouns that can have their article dropped with anything, i.e. do they have anything in common? nouns british-english articles definit...