code: def _chart_studio_warning(submodule):
      warnings.warn(
          "The plotly.{submodule} module is deprecated, "
          "please use chart_studio.{submodule} instead".format(
              submodule=submodule
          ),
          DeprecationWarning,
          stacklevel=2,
      )
  
imports: import warnings
  import functools
label_desc: Use image node_id 2 for calling a global function with example usage: _chart_studio_warning(submodule) without return types