class_docstr: An ml-metadata store that provides read-only methods for notebooks.
class_docstr_tok: ["An","ml-metadata","store","that","provides","read-only","methods","for","notebooks","."]
docstr: Computes and plots the lineage graph for `artifact_id` upto `max_depth`.
  
  Args:
    artifact_id: An `int` indicating the id of an Artifact.
    max_depth: (Optional): An `int` indicating how far back the lineage should
      be computed for `artifact_id`. By default the entire lineage is
      computed.
docstr_tok: ["Computes","and","plots","the","lineage","graph","for","`","artifact_id","`","upto","`","max_depth","`",".","Args",":","artifact_id",":","An","`","int","`","indicating","the","id","of","an","Artifact",".","max_depth",":","(","Optional",")",":","An","`","int","`","indicating","how","far","back","the","lineage","should","be","computed","for","`","artifact_id","`",".","By","default","the","entire","lineage","is","computed","."]
code: def plot_artifact_lineage(self, artifact_id, max_depth=None):
      """Computes and plots the lineage graph for `artifact_id` upto `max_depth`.
  
      Args:
        artifact_id: An `int` indicating the id of an Artifact.
        max_depth: (Optional): An `int` indicating how far back the lineage should
          be computed for `artifact_id`. By default the entire lineage is
          computed.
      """
      self._lineage_graph_helper.plot_artifact_lineage(
          self._lineage_graph_helper.get_artifact_lineage(
              artifact_id, max_depth=max_depth
          )
      )
  
imports: import re
  from IPython.display import display_html
  import matplotlib.pyplot
  import networkx
  import pandas
  from ml_metadata.proto import metadata_store_pb2
label_desc: Use image node_id 13 for calling the ReadonlyMetadataStore obj's underlying member method code with example usage: obj.plot_artifact_lineage(artifact_id, max_depth) without return types