class_docstr: Graph super class containing generic common functions
class_docstr_tok: ["Graph","super","class","containing","generic","common","functions"]
docstr: Scale for secondary
code: def _rescale(self, points):
      """Scale for secondary"""
      return [
          (
              x,
              self._scale_diff + (y - self._scale_min_2nd) * self._scale
              if y is not None
              else None,
          )
          for x, y in points
      ]
  
imports: from math import ceil, cos, sin, sqrt
  from pygal import stats
  from pygal._compat import is_list_like
  from pygal.graph.public import PublicApi
  from pygal.interpolate import INTERPOLATIONS
  from pygal.util import cached_property, compute_scale, cut, decorate, filter_kwargs, get_text_box, get_texts_box, majorize, rad, reverse_text_len, split_title, truncate
  from pygal.view import LogView, ReverseView, View, XYLogView
label_desc: Use image node_id 12 for calling the Graph obj's underlying member method code with example usage: obj._rescale(points) and returns: unknown