Kindly update the
tick_params in the Step 2.
bottom: "off" top: "off" left: "off" right: "off"
Updation according to the new matplotlib documentation. Now it accepts boolean operator enabling or disabling tick marks as per convenience.
bottom = False top = False left = False right = False