HOME/Articles/

matplotlib example import libraries MT (snippet)

Article Outline

Python matplotlib example 'import libraries MT'

Modules used in program:

  • import matplotlib.pyplot as plt
  • import pandas as pd
  • import re
  • import string

python import libraries MT

Python matplotlib example: import libraries MT

import string 
import re 
from numpy import array, argmax, random, take 
import pandas as pd 
from keras.models import Sequential 
from keras.layers import Dense, LSTM, Embedding, RepeatVector
from keras.preprocessing.text import Tokenizer
from keras.callbacks import ModelCheckpoint 
from keras.preprocessing.sequence import pad_sequences
from keras.models import load_model 
from keras import optimizers 
import matplotlib.pyplot as plt 
% matplotlib inline 
pd.set_option('display.max_colwidth', 200)