-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Added gradient to HeatMapWithTime. #925
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
}) | ||
.addTo({{this._parent.get_name()}}); | ||
var times = {{this.times}}; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
W293 blank line contains whitespace
{{this._parent.get_name()}}.timeDimension = L.timeDimension( | ||
{times : times, currentTime: new Date(1)} | ||
); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
W293 blank line contains whitespace
timeSteps: {{this.index_steps}} | ||
}) | ||
.addTo({{this._parent.get_name()}}); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
W293 blank line contains whitespace
Looks good to me! I was curious what color formats were accepted, so after looking into that I added that info to the docstring. Also did some minor cosmetic changes, and updated the test for this module. I made a crude fix for the failing Travis build in PR #926. After merging that we can update this PR from master and the test should pass after that. Then it's ready to merge IMO. |
Merged. Thanks @jtbaker! |
Fix for #804, gradient arg is now added to HeatMapWithTime.