When formatting cells with magic in it, like
[...]
import matplotlib.pyplot as plt
import seaborn as sns
import pandas as pd
%matplotlib inline
the %%black magic returns the error
cannot parse: 12:0 %matplotlib inline
This happens with any line that has a % sign to indicate magic.