chart_title() does not exist. Use chart.title
chart_title()
chart.title
Reference: https://openpyxl.readthedocs.io/en/stable/api/openpyxl.chart.title.html