Heatmap x-axis ticker

Good morning,

I have created a heatmap displaying the air quality in few countries over 2 years.
Because I have one data point per day, I en up with an x-axis which is cluttery:

Could you please help me in reducing major tick numbers?

Thank you

Hi,

The standard categorical ticker always shows all the categorical factors that the range is configured with. To obtain different behavior you will need to create a custom extension similar to this SO answer:

  https://stackoverflow.com/a/50806192/3406693

Thanks,

Bryan

···

On Mar 8, 2019, at 1:09 AM, [email protected] wrote:

Good morning,

I have created a heatmap displaying the air quality in few countries over 2 years.
Because I have one data point per day, I en up with an x-axis which is cluttery:
<Auto Generated Inline Image 1.png>

Could you please help me in reducing major tick numbers?

Thank you

--
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/e6e50127-0245-4821-81f7-6614e599c487%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
<Auto Generated Inline Image 1.png>

Thank you Bryan for the clarification.
I have got the end result I wanted :slight_smile:

···

Le vendredi 8 mars 2019 22:20:26 UTC+1, Bryan Van de ven a écrit :

Hi,

The standard categorical ticker always shows all the categorical factors that the range is configured with. To obtain different behavior you will need to create a custom extension similar to this SO answer:

    [https://stackoverflow.com/a/50806192/3406693](https://stackoverflow.com/a/50806192/3406693)

Thanks,

Bryan

On Mar 8, 2019, at 1:09 AM, [email protected] wrote:

Good morning,

I have created a heatmap displaying the air quality in few countries over 2 years.

Because I have one data point per day, I en up with an x-axis which is cluttery:
<Auto Generated Inline Image 1.png>

Could you please help me in reducing major tick numbers?

Thank you


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/e6e50127-0245-4821-81f7-6614e599c487%40continuum.io.

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

<Auto Generated Inline Image 1.png>