code: def test_convex_increasing_truncated():
      """Tests that a correct knee point is detected in
      curve having truncated convex increasing nature"""
      kn = KneeLocator(
          x[:-3] / 10,
          y_convex_inc[:-3] / 10,
          curve_nature="convex",
          curve_direction="increasing",
      )
      assert kn.knee == 0.4
  
file_path: yellowbrick/tests/test_utils/test_kneed.py
imports: import pytest
  import matplotlib.pyplot
  import numpy
  from yellowbrick.utils.kneed import KneeLocator
label_desc: Use image node_id 7 for calling a global function with example usage: test_convex_increasing_truncated() without return types