Skip to main content

Error: Bad Key nbagg.transparent in Arelle Folder

CDM Version 20.10.3+

Error Message

When generating a project that does not use inline XBRL, the generation may show the following error:

Bad key "nbagg.transparent" on line 426 in C:\Arelle\lib\matplotlib\mpl-data\stylelib\_classic_test.mplstyle. You probably need to get an updated matplotlibrc file from https://github.com/matplotlib/matplotlib/blob/v3.2.1/matplotlibrc.template or from the matplotlib source distribution Bad key "animation.mencoder_path" on line 509 in Bad key "animation.mencoder_args" on line 512 in In C:\Arelle\lib\matplotlib\mpl-data\stylelib\_classic_test.mplstyle: The text.latex.unicode rcparam was deprecated in Matplotlib 3.0 and will be removed in 3.2. The savefig.frameon rcparam was deprecated in Matplotlib 3.1 and will be removed in 3.3. The pgf.debug rcparam was deprecated in Matplotlib 3.0 and will be removed in 3.2. The verbose.level rcparam was deprecated in Matplotlib 3.1 and will be removed in 3.3. The verbose.fileo rcparam was deprecated in Matplotlib 3.1 and will be removed in 3.3.

Bad Key "nbagg.transparent" Error

Cause

This issue is caused by the presence of a file from an older version of Arelle.

Solution

To resolve the issue, either:

  • Delete the file _classic_test.mplstyle from the default Arelle folder. Location of the file is C:\Program Files\Arelle\lib\matplotlib\mpl-data\stylelib\_classic_test.mplstyle.
  • Uninstall the dependencies, delete the default Arelle folder and then reinstall the XBRL dependencies (version - 20.6.1.1 or newer version). This will install Arelle and the file that is causing the issue will not be available.

Related Topic

Instance Generation Does Not Open from LRP

Was this article helpful?

We're sorry to hear that.