code: def clf_partial_fit(self, clust, covmats, n=None):
      if n is None:
          clf = clust()
      else:  # PotatoField
          clf = clust(n_potatoes=n)
      clf.fit(covmats)
      clf.partial_fit(covmats)
      if n is None:
          clf.partial_fit(
              covmats[np.newaxis, 0]
          )  # fit one covmat at a time
      else:
          clf.partial_fit([c[np.newaxis, 0] for c in covmats])
  
imports: from conftest import get_metrics
  import numpy
  from numpy.testing import assert_array_equal
  import pytest
  from pyriemann.clustering import Kmeans, KmeansPerClassTransform, Potato, PotatoField
label_desc: Use image node_id 7 for calling the TestRiemannianClustering obj's underlying member method code with example usage: obj.clf_partial_fit(clust, covmats, n) without return types