Skip to content

BUG: Displaying heatmap on jupyter #207

Closed
@ThomasGl

Description

@ThomasGl

I tried the simplest heatmap i could think of and it won't render

from highcharts_core.chart import Chart

data =[
    [0, 0, 0], [0, 1, 1],
    [1, 0, 1], [1, 1, 2]
]

chart = Chart.from_array(data, 'heatmap')

chart.display()

I keep getting the following errors:

Something went wrong with the Highcharts.js script. It should have been automatically loaded, but it did not load for over 5 seconds. Check your internet connection, and then if the problem persists please reach out for support. (You can also check your browser's console log for more details.)

Detailed Error Message:
Highcharts error #17: www.highcharts.com/errors/17/?missingModuleFor=heatmap - missingModuleFor: heatmap

Also I noticed the heatmap lib wasn't included under highcharts-core/constansts.py

I have also attempted the following change:

image

Still no success.

Yet, I am still able to get the options and javascript output that can be rendered on a browser and the following lines still work somehow:

image

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions