Skip to content

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

Merged
merged 7 commits into from
Aug 1, 2018

Conversation

jtbaker
Copy link
Contributor

@jtbaker jtbaker commented Jul 31, 2018

Fix for #804, gradient arg is now added to HeatMapWithTime.

})
.addTo({{this._parent.get_name()}});
var times = {{this.times}};

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)}
);

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()}});

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

@Conengmo
Copy link
Member

Conengmo commented Aug 1, 2018

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.

@Conengmo Conengmo merged commit bbf57a2 into python-visualization:master Aug 1, 2018
@Conengmo
Copy link
Member

Conengmo commented Aug 1, 2018

Merged. Thanks @jtbaker!

@jtbaker jtbaker deleted the TimeGradient branch September 4, 2018 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants