class_docstr: Base visualizer for Rank1D and Rank2D
  
  Parameters
  ----------
  ax : matplotlib Axes, default: None
      The axis to plot the figure on. If None is passed in the current axes
      will be used (or generated if required).
  
  fig : matplotlib Figure, default: None
      The figure to plot the Visualizer on. If None is passed in the current
      plot will be used (or generated if required).
  
  algorithm : string
      The ranking algorithm to use; options and defaults vary by subclass
  
  features : list
      A list of feature names to use.
      If a DataFrame is passed to fit and features is None, feature
      names are selected as the columns of the DataFrame.
  
  show_feature_names : boolean, default: True
      If True, the feature names are used to label the axis ticks in the
      plot.
  
  kwargs : dict
      Keyword arguments that are passed to the base class and may influence
      the visualization as defined in other Visualizers.
  
  Attributes
  ----------
  ranks_ : ndarray
      An n-dimensional, symmetric array of rank scores, where n is the
      number of features. E.g. for 1D ranking, it is (n,), for a
      2D ranking it is (n,n) and so forth.
  
  Examples
  --------
  
  >>> visualizer = Rank2D()
  >>> visualizer.fit(X, y)
  >>> visualizer.transform(X)
  >>> visualizer.show()
  
  Notes
  -----
  These parameters can be influenced later on in the visualization
  process, but can and should be set as early as possible.
class_docstr_tok: ["Base","visualizer","for","Rank1D","and","Rank2D","Parameters","--","--","--","--","--","ax",":","matplotlib","Axes",",","default",":","None","The","axis","to","plot","the","figure","on",".","If","None","is","passed","in","the","current","axes","will","be","used","(","or","generated","if","required",")",".","fig",":","matplotlib","Figure",",","default",":","None","The","figure","to","plot","the","Visualizer","on",".","If","None","is","passed","in","the","current","plot","will","be","used","(","or","generated","if","required",")",".","algorithm",":","string","The","ranking","algorithm","to","use",";","options","and","defaults","vary","by","subclass","features",":","list","A","list","of","feature","names","to","use",".","If","a","DataFrame","is","passed","to","fit","and","features","is","None",",","feature","names","are","selected","as","the","columns","of","the","DataFrame",".","show_feature_names",":","boolean",",","default",":","True","If","True",",","the","feature","names","are","used","to","label","the","axis","ticks","in","the","plot",".","kwargs",":","dict","Keyword","arguments","that","are","passed","to","the","base","class","and","may","influence","the","visualization","as","defined","in","other","Visualizers",".","Attributes","--","--","--","--","--","ranks_",":","ndarray","An","n-dimensional",",","symmetric","array","of","rank","scores",",","where","n","is","the","number","of","features",".","E.g",".","for","1D","ranking",",","it","is","(","n",",",")",",","for","a","2D","ranking","it","is","(","n",",","n",")","and","so","forth",".","Examples","--","--","--","--",">",">",">","visualizer","=","Rank2D","(",")",">",">",">","visualizer.fit","(","X",",","y",")",">",">",">","visualizer.transform","(","X",")",">",">",">","visualizer.show","(",")","Notes","--","--","-","These","parameters","can","be","influenced","later","on","in","the","visualization","process",",","but","can","and","should","be","set","as","early","as","possible","."]
docstr: Sets a title on the RankD plot.
  
  Parameters
  ----------
  kwargs: generic keyword arguments.
  
  Notes
  -----
  Generally this method is called from show and not directly by the user.
docstr_tok: ["Sets","a","title","on","the","RankD","plot",".","Parameters","--","--","--","--","--","kwargs",":","generic","keyword","arguments",".","Notes","--","--","-","Generally","this","method","is","called","from","show","and","not","directly","by","the","user","."]
code: def finalize(self, **kwargs):
      """
      Sets a title on the RankD plot.
  
      Parameters
      ----------
      kwargs: generic keyword arguments.
  
      Notes
      -----
      Generally this method is called from show and not directly by the user.
      """
      # There is a known bug in matplotlib 3.1.1 that affects RankD plots
      # See #912 and #914 for details.
      if mpl.__version__ == "3.1.1":
          msg = (
              "RankD plots may be clipped when using matplotlib v3.1.1, "
              "upgrade to matplotlib v3.1.2 or later to fix the plots."
          )
          warnings.warn(msg, YellowbrickWarning)
  
      # Set the title for all RankD visualizations.
      self.set_title(
          "{} Ranking of {} Features".format(
              self.ranking_.title(), len(self.features_)
          )
      )
  
imports: import warnings
  import numpy
  import matplotlib
  from scipy.stats import shapiro
  from scipy.stats import spearmanr
  from scipy.stats import kendalltau
  from yellowbrick.utils import is_dataframe
  from yellowbrick.features.base import MultiFeatureVisualizer
  from yellowbrick.exceptions import YellowbrickValueError, YellowbrickWarning
label_desc: Use image node_id 4 for calling the RankDBase obj's underlying member method code with example usage: obj.finalize() without return types