Axes.copyFrom constructor

Axes.copyFrom(
  1. Axes mob
)

Implementation

Axes.copyFrom(Axes mob)
    : centerPoint = mob.centerPoint.copy(),
      axisConfig = mob.axisConfig.copy(),
      xAxisConfig = mob.xAxisConfig.copy(),
      yAxisConfig = mob.yAxisConfig.copy(),
      super.copyFrom(mob) {
  xAxis = mob.xAxis.copy();
  yAxis = mob.yAxis.copy();
  axes = VGroup([xAxis, yAxis]);
}