Bokeh hover tooltips: How do I not see values that are zero on a graph?










0















Pie chart



As seen in the pie chart image above, tooltips is showing P1 along with P2, even if P1 value is 0. Same is the case when I hover over P3. How can I make sure a value is not shown by hover tooltips if the value is 0? In this case P1 value should not be seen on hover but only P2 and P3.



Here is the definition I am calling:



def create_priority_graph(P1, P2, P3):

x =
'P1': P1,
'P2': P2,
'P3': P3

colors = ["#e84d60", "#f2c707", "#718dbf"]
data = pd.Series(x).reset_index(name='value').rename(columns='index':'toolscore')
data['angle'] = data['value']/data['value'].sum() * 2*pi
data['color'] = colors
p = figure(plot_height=250, plot_width=300, title="Open Issues by priority", toolbar_location=None,tools="hover", tooltips="@toolscore: @value", x_range=(-0.5, 1.0))
p.wedge(x=0, y=1, radius=0.35,start_angle=cumsum('angle', include_zero=True), end_angle=cumsum('angle'),line_color="white", fill_color='color', legend='toolscore', source=data)
p.axis.axis_label=None
p.axis.visible=False
p.grid.grid_line_color = None

return p









share|improve this question




























    0















    Pie chart



    As seen in the pie chart image above, tooltips is showing P1 along with P2, even if P1 value is 0. Same is the case when I hover over P3. How can I make sure a value is not shown by hover tooltips if the value is 0? In this case P1 value should not be seen on hover but only P2 and P3.



    Here is the definition I am calling:



    def create_priority_graph(P1, P2, P3):

    x =
    'P1': P1,
    'P2': P2,
    'P3': P3

    colors = ["#e84d60", "#f2c707", "#718dbf"]
    data = pd.Series(x).reset_index(name='value').rename(columns='index':'toolscore')
    data['angle'] = data['value']/data['value'].sum() * 2*pi
    data['color'] = colors
    p = figure(plot_height=250, plot_width=300, title="Open Issues by priority", toolbar_location=None,tools="hover", tooltips="@toolscore: @value", x_range=(-0.5, 1.0))
    p.wedge(x=0, y=1, radius=0.35,start_angle=cumsum('angle', include_zero=True), end_angle=cumsum('angle'),line_color="white", fill_color='color', legend='toolscore', source=data)
    p.axis.axis_label=None
    p.axis.visible=False
    p.grid.grid_line_color = None

    return p









    share|improve this question


























      0












      0








      0








      Pie chart



      As seen in the pie chart image above, tooltips is showing P1 along with P2, even if P1 value is 0. Same is the case when I hover over P3. How can I make sure a value is not shown by hover tooltips if the value is 0? In this case P1 value should not be seen on hover but only P2 and P3.



      Here is the definition I am calling:



      def create_priority_graph(P1, P2, P3):

      x =
      'P1': P1,
      'P2': P2,
      'P3': P3

      colors = ["#e84d60", "#f2c707", "#718dbf"]
      data = pd.Series(x).reset_index(name='value').rename(columns='index':'toolscore')
      data['angle'] = data['value']/data['value'].sum() * 2*pi
      data['color'] = colors
      p = figure(plot_height=250, plot_width=300, title="Open Issues by priority", toolbar_location=None,tools="hover", tooltips="@toolscore: @value", x_range=(-0.5, 1.0))
      p.wedge(x=0, y=1, radius=0.35,start_angle=cumsum('angle', include_zero=True), end_angle=cumsum('angle'),line_color="white", fill_color='color', legend='toolscore', source=data)
      p.axis.axis_label=None
      p.axis.visible=False
      p.grid.grid_line_color = None

      return p









      share|improve this question
















      Pie chart



      As seen in the pie chart image above, tooltips is showing P1 along with P2, even if P1 value is 0. Same is the case when I hover over P3. How can I make sure a value is not shown by hover tooltips if the value is 0? In this case P1 value should not be seen on hover but only P2 and P3.



      Here is the definition I am calling:



      def create_priority_graph(P1, P2, P3):

      x =
      'P1': P1,
      'P2': P2,
      'P3': P3

      colors = ["#e84d60", "#f2c707", "#718dbf"]
      data = pd.Series(x).reset_index(name='value').rename(columns='index':'toolscore')
      data['angle'] = data['value']/data['value'].sum() * 2*pi
      data['color'] = colors
      p = figure(plot_height=250, plot_width=300, title="Open Issues by priority", toolbar_location=None,tools="hover", tooltips="@toolscore: @value", x_range=(-0.5, 1.0))
      p.wedge(x=0, y=1, radius=0.35,start_angle=cumsum('angle', include_zero=True), end_angle=cumsum('angle'),line_color="white", fill_color='color', legend='toolscore', source=data)
      p.axis.axis_label=None
      p.axis.visible=False
      p.grid.grid_line_color = None

      return p






      python hover tooltip bokeh pie-chart






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 14 '18 at 14:35







      user526754

















      asked Nov 14 '18 at 13:57









      user526754user526754

      33




      33






















          2 Answers
          2






          active

          oldest

          votes


















          0














          This should fix your problem. This code drops 0-value slices as Paul suggested.



          import pandas as pd
          from bokeh.plotting import figure
          from bokeh.io import output_file, show
          from bokeh.models.glyphs import Wedge
          import math
          from bokeh.transform import cumsum

          def create_priority_graph(P1, P2, P3):
          x =
          'P1': P1,
          'P2': P2,
          'P3': P3

          colors = ["#e84d60", "#f2c707", "#718dbf"]
          data = pd.Series(x).reset_index(name='value').rename(columns='index':'toolscore')
          data['angle'] = data['value']/data['value'].sum() * 2*math.pi
          data['color'] = colors
          data = data[data.value != 0]
          p = figure(plot_height=250, plot_width=300, title="Open Issues by priority", toolbar_location=None,tools="hover", tooltips="@toolscore: @value", x_range=(-0.5, 1.0))
          p.wedge(x=0, y=1, radius=0.35,start_angle=cumsum('angle', include_zero=True), end_angle=cumsum('angle'),line_color="white", fill_color='color', legend='toolscore', source=data)
          p.axis.axis_label=None
          p.axis.visible=False
          p.grid.grid_line_color = None
          return p

          p = create_priority_graph(3, 9, 0)

          show(p)


          Another workaround where it does not remove the legend for the item that's 0:



          import pandas as pd
          from bokeh.plotting import figure
          from bokeh.io import output_file, show
          from bokeh.models.glyphs import Wedge
          import math
          from bokeh.transform import cumsum

          def create_priority_graph(P1, P2, P3):
          x =
          'P1': P1,
          'P2': P2,
          'P3': P3

          for i in x.keys():
          if x[i] == 0:
          x[i] = 0.0001
          colors = ["#e84d60", "#f2c707", "#718dbf"]
          data = pd.Series(x).reset_index(name='value').rename(columns='index':'toolscore')
          data['angle'] = data['value']/data['value'].sum() * 2*math.pi
          data['color'] = colors
          p = figure(plot_height=250, plot_width=300, title="Open Issues by priority", toolbar_location=None,tools="hover", tooltips="@toolscore: @value", x_range=(-0.5, 1.0))
          p.wedge(x=0, y=1, radius=0.35,start_angle=cumsum('angle', include_zero=True), end_angle=cumsum('angle'),line_color="white", fill_color='color', legend='toolscore', source=data)
          p.axis.axis_label=None
          p.axis.visible=False
          p.grid.grid_line_color = None
          return p

          p = create_priority_graph(3, 9, 0)

          show(p)





          share|improve this answer

























          • Thank you so much! It works perfectly as I need it, I did not have to use math.pi though, just pi worked for me

            – user526754
            Nov 19 '18 at 12:24











          • FYI, this fix removes the 0-valued variable from the legend as well. Any way to hack that?

            – user526754
            Nov 28 '18 at 8:07











          • Added another workaround to my answer where it does not remove the variable from the legend.

            – Jasper
            Nov 28 '18 at 11:05











          • Thank you Jasper!

            – user526754
            Nov 29 '18 at 12:31


















          0














          Since you provided no code, the easiest way to do this would probably be to drop 0-value slices from whichever data you are building your ColumnDataSource from, prior to plotting.






          share|improve this answer























          • Thank you, but I am not using ColumnDataSource here, attaching code to original post

            – user526754
            Nov 14 '18 at 14:36










          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53301928%2fbokeh-hover-tooltips-how-do-i-not-see-values-that-are-zero-on-a-graph%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          This should fix your problem. This code drops 0-value slices as Paul suggested.



          import pandas as pd
          from bokeh.plotting import figure
          from bokeh.io import output_file, show
          from bokeh.models.glyphs import Wedge
          import math
          from bokeh.transform import cumsum

          def create_priority_graph(P1, P2, P3):
          x =
          'P1': P1,
          'P2': P2,
          'P3': P3

          colors = ["#e84d60", "#f2c707", "#718dbf"]
          data = pd.Series(x).reset_index(name='value').rename(columns='index':'toolscore')
          data['angle'] = data['value']/data['value'].sum() * 2*math.pi
          data['color'] = colors
          data = data[data.value != 0]
          p = figure(plot_height=250, plot_width=300, title="Open Issues by priority", toolbar_location=None,tools="hover", tooltips="@toolscore: @value", x_range=(-0.5, 1.0))
          p.wedge(x=0, y=1, radius=0.35,start_angle=cumsum('angle', include_zero=True), end_angle=cumsum('angle'),line_color="white", fill_color='color', legend='toolscore', source=data)
          p.axis.axis_label=None
          p.axis.visible=False
          p.grid.grid_line_color = None
          return p

          p = create_priority_graph(3, 9, 0)

          show(p)


          Another workaround where it does not remove the legend for the item that's 0:



          import pandas as pd
          from bokeh.plotting import figure
          from bokeh.io import output_file, show
          from bokeh.models.glyphs import Wedge
          import math
          from bokeh.transform import cumsum

          def create_priority_graph(P1, P2, P3):
          x =
          'P1': P1,
          'P2': P2,
          'P3': P3

          for i in x.keys():
          if x[i] == 0:
          x[i] = 0.0001
          colors = ["#e84d60", "#f2c707", "#718dbf"]
          data = pd.Series(x).reset_index(name='value').rename(columns='index':'toolscore')
          data['angle'] = data['value']/data['value'].sum() * 2*math.pi
          data['color'] = colors
          p = figure(plot_height=250, plot_width=300, title="Open Issues by priority", toolbar_location=None,tools="hover", tooltips="@toolscore: @value", x_range=(-0.5, 1.0))
          p.wedge(x=0, y=1, radius=0.35,start_angle=cumsum('angle', include_zero=True), end_angle=cumsum('angle'),line_color="white", fill_color='color', legend='toolscore', source=data)
          p.axis.axis_label=None
          p.axis.visible=False
          p.grid.grid_line_color = None
          return p

          p = create_priority_graph(3, 9, 0)

          show(p)





          share|improve this answer

























          • Thank you so much! It works perfectly as I need it, I did not have to use math.pi though, just pi worked for me

            – user526754
            Nov 19 '18 at 12:24











          • FYI, this fix removes the 0-valued variable from the legend as well. Any way to hack that?

            – user526754
            Nov 28 '18 at 8:07











          • Added another workaround to my answer where it does not remove the variable from the legend.

            – Jasper
            Nov 28 '18 at 11:05











          • Thank you Jasper!

            – user526754
            Nov 29 '18 at 12:31















          0














          This should fix your problem. This code drops 0-value slices as Paul suggested.



          import pandas as pd
          from bokeh.plotting import figure
          from bokeh.io import output_file, show
          from bokeh.models.glyphs import Wedge
          import math
          from bokeh.transform import cumsum

          def create_priority_graph(P1, P2, P3):
          x =
          'P1': P1,
          'P2': P2,
          'P3': P3

          colors = ["#e84d60", "#f2c707", "#718dbf"]
          data = pd.Series(x).reset_index(name='value').rename(columns='index':'toolscore')
          data['angle'] = data['value']/data['value'].sum() * 2*math.pi
          data['color'] = colors
          data = data[data.value != 0]
          p = figure(plot_height=250, plot_width=300, title="Open Issues by priority", toolbar_location=None,tools="hover", tooltips="@toolscore: @value", x_range=(-0.5, 1.0))
          p.wedge(x=0, y=1, radius=0.35,start_angle=cumsum('angle', include_zero=True), end_angle=cumsum('angle'),line_color="white", fill_color='color', legend='toolscore', source=data)
          p.axis.axis_label=None
          p.axis.visible=False
          p.grid.grid_line_color = None
          return p

          p = create_priority_graph(3, 9, 0)

          show(p)


          Another workaround where it does not remove the legend for the item that's 0:



          import pandas as pd
          from bokeh.plotting import figure
          from bokeh.io import output_file, show
          from bokeh.models.glyphs import Wedge
          import math
          from bokeh.transform import cumsum

          def create_priority_graph(P1, P2, P3):
          x =
          'P1': P1,
          'P2': P2,
          'P3': P3

          for i in x.keys():
          if x[i] == 0:
          x[i] = 0.0001
          colors = ["#e84d60", "#f2c707", "#718dbf"]
          data = pd.Series(x).reset_index(name='value').rename(columns='index':'toolscore')
          data['angle'] = data['value']/data['value'].sum() * 2*math.pi
          data['color'] = colors
          p = figure(plot_height=250, plot_width=300, title="Open Issues by priority", toolbar_location=None,tools="hover", tooltips="@toolscore: @value", x_range=(-0.5, 1.0))
          p.wedge(x=0, y=1, radius=0.35,start_angle=cumsum('angle', include_zero=True), end_angle=cumsum('angle'),line_color="white", fill_color='color', legend='toolscore', source=data)
          p.axis.axis_label=None
          p.axis.visible=False
          p.grid.grid_line_color = None
          return p

          p = create_priority_graph(3, 9, 0)

          show(p)





          share|improve this answer

























          • Thank you so much! It works perfectly as I need it, I did not have to use math.pi though, just pi worked for me

            – user526754
            Nov 19 '18 at 12:24











          • FYI, this fix removes the 0-valued variable from the legend as well. Any way to hack that?

            – user526754
            Nov 28 '18 at 8:07











          • Added another workaround to my answer where it does not remove the variable from the legend.

            – Jasper
            Nov 28 '18 at 11:05











          • Thank you Jasper!

            – user526754
            Nov 29 '18 at 12:31













          0












          0








          0







          This should fix your problem. This code drops 0-value slices as Paul suggested.



          import pandas as pd
          from bokeh.plotting import figure
          from bokeh.io import output_file, show
          from bokeh.models.glyphs import Wedge
          import math
          from bokeh.transform import cumsum

          def create_priority_graph(P1, P2, P3):
          x =
          'P1': P1,
          'P2': P2,
          'P3': P3

          colors = ["#e84d60", "#f2c707", "#718dbf"]
          data = pd.Series(x).reset_index(name='value').rename(columns='index':'toolscore')
          data['angle'] = data['value']/data['value'].sum() * 2*math.pi
          data['color'] = colors
          data = data[data.value != 0]
          p = figure(plot_height=250, plot_width=300, title="Open Issues by priority", toolbar_location=None,tools="hover", tooltips="@toolscore: @value", x_range=(-0.5, 1.0))
          p.wedge(x=0, y=1, radius=0.35,start_angle=cumsum('angle', include_zero=True), end_angle=cumsum('angle'),line_color="white", fill_color='color', legend='toolscore', source=data)
          p.axis.axis_label=None
          p.axis.visible=False
          p.grid.grid_line_color = None
          return p

          p = create_priority_graph(3, 9, 0)

          show(p)


          Another workaround where it does not remove the legend for the item that's 0:



          import pandas as pd
          from bokeh.plotting import figure
          from bokeh.io import output_file, show
          from bokeh.models.glyphs import Wedge
          import math
          from bokeh.transform import cumsum

          def create_priority_graph(P1, P2, P3):
          x =
          'P1': P1,
          'P2': P2,
          'P3': P3

          for i in x.keys():
          if x[i] == 0:
          x[i] = 0.0001
          colors = ["#e84d60", "#f2c707", "#718dbf"]
          data = pd.Series(x).reset_index(name='value').rename(columns='index':'toolscore')
          data['angle'] = data['value']/data['value'].sum() * 2*math.pi
          data['color'] = colors
          p = figure(plot_height=250, plot_width=300, title="Open Issues by priority", toolbar_location=None,tools="hover", tooltips="@toolscore: @value", x_range=(-0.5, 1.0))
          p.wedge(x=0, y=1, radius=0.35,start_angle=cumsum('angle', include_zero=True), end_angle=cumsum('angle'),line_color="white", fill_color='color', legend='toolscore', source=data)
          p.axis.axis_label=None
          p.axis.visible=False
          p.grid.grid_line_color = None
          return p

          p = create_priority_graph(3, 9, 0)

          show(p)





          share|improve this answer















          This should fix your problem. This code drops 0-value slices as Paul suggested.



          import pandas as pd
          from bokeh.plotting import figure
          from bokeh.io import output_file, show
          from bokeh.models.glyphs import Wedge
          import math
          from bokeh.transform import cumsum

          def create_priority_graph(P1, P2, P3):
          x =
          'P1': P1,
          'P2': P2,
          'P3': P3

          colors = ["#e84d60", "#f2c707", "#718dbf"]
          data = pd.Series(x).reset_index(name='value').rename(columns='index':'toolscore')
          data['angle'] = data['value']/data['value'].sum() * 2*math.pi
          data['color'] = colors
          data = data[data.value != 0]
          p = figure(plot_height=250, plot_width=300, title="Open Issues by priority", toolbar_location=None,tools="hover", tooltips="@toolscore: @value", x_range=(-0.5, 1.0))
          p.wedge(x=0, y=1, radius=0.35,start_angle=cumsum('angle', include_zero=True), end_angle=cumsum('angle'),line_color="white", fill_color='color', legend='toolscore', source=data)
          p.axis.axis_label=None
          p.axis.visible=False
          p.grid.grid_line_color = None
          return p

          p = create_priority_graph(3, 9, 0)

          show(p)


          Another workaround where it does not remove the legend for the item that's 0:



          import pandas as pd
          from bokeh.plotting import figure
          from bokeh.io import output_file, show
          from bokeh.models.glyphs import Wedge
          import math
          from bokeh.transform import cumsum

          def create_priority_graph(P1, P2, P3):
          x =
          'P1': P1,
          'P2': P2,
          'P3': P3

          for i in x.keys():
          if x[i] == 0:
          x[i] = 0.0001
          colors = ["#e84d60", "#f2c707", "#718dbf"]
          data = pd.Series(x).reset_index(name='value').rename(columns='index':'toolscore')
          data['angle'] = data['value']/data['value'].sum() * 2*math.pi
          data['color'] = colors
          p = figure(plot_height=250, plot_width=300, title="Open Issues by priority", toolbar_location=None,tools="hover", tooltips="@toolscore: @value", x_range=(-0.5, 1.0))
          p.wedge(x=0, y=1, radius=0.35,start_angle=cumsum('angle', include_zero=True), end_angle=cumsum('angle'),line_color="white", fill_color='color', legend='toolscore', source=data)
          p.axis.axis_label=None
          p.axis.visible=False
          p.grid.grid_line_color = None
          return p

          p = create_priority_graph(3, 9, 0)

          show(p)






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Nov 28 '18 at 11:04

























          answered Nov 15 '18 at 14:42









          JasperJasper

          626311




          626311












          • Thank you so much! It works perfectly as I need it, I did not have to use math.pi though, just pi worked for me

            – user526754
            Nov 19 '18 at 12:24











          • FYI, this fix removes the 0-valued variable from the legend as well. Any way to hack that?

            – user526754
            Nov 28 '18 at 8:07











          • Added another workaround to my answer where it does not remove the variable from the legend.

            – Jasper
            Nov 28 '18 at 11:05











          • Thank you Jasper!

            – user526754
            Nov 29 '18 at 12:31

















          • Thank you so much! It works perfectly as I need it, I did not have to use math.pi though, just pi worked for me

            – user526754
            Nov 19 '18 at 12:24











          • FYI, this fix removes the 0-valued variable from the legend as well. Any way to hack that?

            – user526754
            Nov 28 '18 at 8:07











          • Added another workaround to my answer where it does not remove the variable from the legend.

            – Jasper
            Nov 28 '18 at 11:05











          • Thank you Jasper!

            – user526754
            Nov 29 '18 at 12:31
















          Thank you so much! It works perfectly as I need it, I did not have to use math.pi though, just pi worked for me

          – user526754
          Nov 19 '18 at 12:24





          Thank you so much! It works perfectly as I need it, I did not have to use math.pi though, just pi worked for me

          – user526754
          Nov 19 '18 at 12:24













          FYI, this fix removes the 0-valued variable from the legend as well. Any way to hack that?

          – user526754
          Nov 28 '18 at 8:07





          FYI, this fix removes the 0-valued variable from the legend as well. Any way to hack that?

          – user526754
          Nov 28 '18 at 8:07













          Added another workaround to my answer where it does not remove the variable from the legend.

          – Jasper
          Nov 28 '18 at 11:05





          Added another workaround to my answer where it does not remove the variable from the legend.

          – Jasper
          Nov 28 '18 at 11:05













          Thank you Jasper!

          – user526754
          Nov 29 '18 at 12:31





          Thank you Jasper!

          – user526754
          Nov 29 '18 at 12:31













          0














          Since you provided no code, the easiest way to do this would probably be to drop 0-value slices from whichever data you are building your ColumnDataSource from, prior to plotting.






          share|improve this answer























          • Thank you, but I am not using ColumnDataSource here, attaching code to original post

            – user526754
            Nov 14 '18 at 14:36















          0














          Since you provided no code, the easiest way to do this would probably be to drop 0-value slices from whichever data you are building your ColumnDataSource from, prior to plotting.






          share|improve this answer























          • Thank you, but I am not using ColumnDataSource here, attaching code to original post

            – user526754
            Nov 14 '18 at 14:36













          0












          0








          0







          Since you provided no code, the easiest way to do this would probably be to drop 0-value slices from whichever data you are building your ColumnDataSource from, prior to plotting.






          share|improve this answer













          Since you provided no code, the easiest way to do this would probably be to drop 0-value slices from whichever data you are building your ColumnDataSource from, prior to plotting.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 14 '18 at 14:06









          PalliePallie

          3549




          3549












          • Thank you, but I am not using ColumnDataSource here, attaching code to original post

            – user526754
            Nov 14 '18 at 14:36

















          • Thank you, but I am not using ColumnDataSource here, attaching code to original post

            – user526754
            Nov 14 '18 at 14:36
















          Thank you, but I am not using ColumnDataSource here, attaching code to original post

          – user526754
          Nov 14 '18 at 14:36





          Thank you, but I am not using ColumnDataSource here, attaching code to original post

          – user526754
          Nov 14 '18 at 14:36

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53301928%2fbokeh-hover-tooltips-how-do-i-not-see-values-that-are-zero-on-a-graph%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Darth Vader #20

          How to how show current date and time by default on contact form 7 in WordPress without taking input from user in datetimepicker

          Ondo