Matplotlib's is_string_like has been deprecated as of the 2.1 release
(October 2017), and triggers deprecation warnings messages at import
time.
This replaces the use of this matplotlib function with a functional
equivalent
I don't know how long matplotlib is going to keep this function around, but that will at least make cmocean future proof and remove the deprecation warning.
Matplotlib's
is_string_like
has been deprecated as of the 2.1 release (October 2017), and triggers deprecation warnings messages at import time.This replaces the use of this matplotlib function with a functional equivalent
I don't know how long matplotlib is going to keep this function around, but that will at least make cmocean future proof and remove the deprecation warning.