-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
duplicateThe issue is a duplicate of a previous issueThe issue is a duplicate of a previous issue
Description
I'm having two different issues with folium. The first one is that I'm using color map in the following way:
linear = cm.LinearColormap(
['#172E74', '#05F90B','#427024', '#F2D60E','#F90000'],
index=[5,24,36,48,60],
vmin=5, vmax=60)
linear.caption = 'Time'
m.add_child(linear)
linear_real = cm.StepColormap(
['#F9FB97','#F6F904', '#F1DB0B', '#F8524A'],
index=[1,50,200,400],
vmin=1, vmax=500)
linear_real.caption = 'Cases'
m.add_child(linear_real)
However in order to change the properties of them, such as position, font-size I have to do it manually from the HTML. Is there an automatic way to do it?
The second problem is that, if I Try to put the HTML on a personal page, then the timeslider bar
reduce or disappear as you can see here:
I'm really tried to fix it, but I could not find a solution, even though the problem may be stupid.
Metadata
Metadata
Assignees
Labels
duplicateThe issue is a duplicate of a previous issueThe issue is a duplicate of a previous issue