Call a python value inside the HTML template

Hi,

I am trying to call a python value used in bokeh script inside the HTML template I modify.

I try to use {{ A }} or {{ A.value }} , no success.

There is a way to do it? I want to use this value inside the body or title of the HTML.

Thanks,

Maria

Hi Maria,

···

Please share a full code example.

It is possible to pass variables into templates using file_html

But its hard to know what’s going wrong for you without some code.

Sarah Bird
[email protected]

On May 30, 2016, at 5:52 PM, [email protected] wrote:

Hi,

I am trying to call a python value used in bokeh script inside the HTML template I modify.

I try to use {{ A }} or {{ A.value }} , no success.

There is a way to do it? I want to use this value inside the body or title of the HTML.

Thanks,

Maria

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].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/246653aa-6d43-41bc-848a-728912ffdaf2%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.