class_docstr: Test the Rank1D visualizer
docstr: Test Rank1D using vertical orientation
docstr_tok: ["Test","Rank1D","using","vertical","orientation"]
code: def test_rank1d_vertical(self):
      """
      Test Rank1D using vertical orientation
      """
      X, _ = load_energy(return_dataset=True).to_numpy()
      oz = Rank1D(orient="v")
      npt.assert_array_equal(oz.fit_transform(X), X)
  
      # Image similarity comparison
      oz.finalize()
      self.assert_images_similar(oz)
  
imports: import pytest
  import numpy
  import numpy.testing
  from yellowbrick.features.rankd import RankDBase
  from yellowbrick.features.rankd import kendalltau
  from yellowbrick.features.rankd import Rank1D, rank1d
  from yellowbrick.features.rankd import Rank2D, rank2d
  from yellowbrick.exceptions import YellowbrickValueError
  from tests.base import IS_WINDOWS_OR_CONDA, VisualTestCase
  from yellowbrick.datasets import load_occupancy, load_credit, load_energy
label_desc: Use image node_id 3 for calling the TestRank1D obj's underlying member method code with example usage: obj.test_rank1d_vertical() without return types