Unable to load workbook with charts getting: TypeError: expected <class 'openpyxl.chart.axis.TextAxis'>

Issue #966 resolved
created an issue

Getting error when trying to load a workbook with some charts when

from openpyxl import Workbook
from openpyxl import load_workbook


it leads to below error

\lib\site-packages\openpyxl\descriptors\base.py", line 44, in __set__
    raise TypeError('expected ' + str(self.expected_type))
TypeError: expected <class 'openpyxl.chart.axis.TextAxis'>

Comments (3)

  1. CharlieC

    Thanks for the report and especially for the file. The problem is the 3D bar chart on the sheet Transactions count trend. If you can live we a normal bar chart for a while you should be okay.

  2. Log in to comment