Moreover, the following error was not reported via issues and are fixed:
TypeError in the linear_gradient function when trying to extend any scheme. Indeed, in color_brewer, the key searched in the scheme database was not found, thus, it was passing None instead of a real scheme vector to linear_gradient;
The scheme 'viridis' was not in the base_codes JSON;
Multiple scheme hadn't any metadata in scheme_info JSON;
When a n value provided to color_scheme was a float, it tried to select an unknown scheme without raising the right Exception type.
The unit tests was using the deprecated (and remove) method WebDriver.find_element_by_css_selector.
The non-qualitative schemes should be extendable. This commit adds this feature.
Fixes https://github.com/python-visualization/branca/issues/104 and https://github.com/python-visualization/branca/issues/114. Also probably fix https://github.com/python-visualization/folium/issues/1270.
Moreover, the following error was not reported via issues and are fixed:
None
instead of a real scheme vector to linear_gradient;n
value provided tocolor_scheme
was a float, it tried to select an unknown scheme without raising the right Exception type.WebDriver.find_element_by_css_selector
.