Plotting Cross Entropy for Multi-class and its weighted version

Is there any tutorial , to plot CEntropy loss for a particular class and its weighted version to see how the weights affect the class imbalance problem

like below

@ptrblck