class_docstr: Artist for an igraph.Graph object.
  
  @param graph: An igraph.Graph object to plot
  @param layout: A layout object or matrix of coordinates to use for plotting.
      Each element or row should describes the coordinates for a vertex.
  @param vertex_style: A dictionary specifying style options for vertices.
  @param edge_style: A dictionary specifying style options for edges.
class_docstr_tok: ["Artist","for","an","igraph.Graph","object",".","@","param","graph",":","An","igraph.Graph","object","to","plot","@","param","layout",":","A","layout","object","or","matrix","of","coordinates","to","use","for","plotting",".","Each","element","or","row","should","describes","the","coordinates","for","a","vertex",".","@","param","vertex_style",":","A","dictionary","specifying","style","options","for","vertices",".","@","param","edge_style",":","A","dictionary","specifying","style","options","for","edges","."]
code: def _set_edge_curve(self):
      graph = self.graph
      kwds = self.kwds
  
      # Decide whether we need to calculate the curvature of edges
      # automatically -- and calculate them if needed.
      autocurve = kwds.get("autocurve", None)
      if autocurve or (
          autocurve is None
          and "edge_curved" not in kwds
          and "curved" not in self.graph.edge_attributes()
          and self.graph.ecount() < 10000
      ):
          from igraph import autocurve
  
          default = kwds.get("edge_curved", 0)
          if default is True:
              default = 0.5
          default = float(default)
          self.kwds["edge_curved"] = autocurve(
              graph,
              attribute=None,
              default=default,
          )
  
imports: from warnings import warn
  from functools import wraps, partial
  from igraph._igraph import convex_hull, VertexSeq
  from igraph.drawing.baseclasses import AbstractGraphDrawer
  from igraph.drawing.utils import FakeModule
  from .edge import MatplotlibEdgeDrawer, EdgeCollection
  from .polygon import HullCollection
  from .utils import find_matplotlib
  from .vertex import MatplotlibVertexDrawer, VertexCollection
label_desc: Use image node_id 5 for calling the GraphArtist obj's underlying member method code with example usage: obj._set_edge_curve() without return types