AttributeError: module 'matplotlib' has no attribute 'subplots'

AttributeError: module 'matplotlib' has no attribute 'subplots' 

Description of the issue


AttributeError: module 'matplotlib' has no attribute 'subplots'

The reason for this

When a package for importing data is written,

import matplotlib as plt
 

Changes should be made

import matplotlib.pyplot as plt


Comments

Popular posts from this blog

TensorFlow Train/test /evaluation flow

AttributeError : module 'tensorflow' has no attribute 'global_variables_initializer'

AttributeError: module 'tensorflow_estimator.python.estimator.api._v2.estimator' has no attribute 'inputs'