Skip to content

Commit a5b0f8b

Browse files
authored
Fix TQDMProgressBar usage in logging.rst (#14768)
1 parent e9c571d commit a5b0f8b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/source-pytorch/extensions/logging.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,10 +324,10 @@ if you are using a logger. These defaults can be customized by overriding the
324324

325325
.. code-block:: python
326326
327-
from pytorch_lightning.callbacks.progress import Tqdm
327+
from pytorch_lightning.callbacks.progress import TQDMProgressBar
328328
329329
330-
class CustomProgressBar(Tqdm):
330+
class CustomProgressBar(TQDMProgressBar):
331331
def get_metrics(self, *args, **kwargs):
332332
# don't show the version number
333333
items = super().get_metrics()

0 commit comments

Comments
 (0)