Shahinur Alam
  • Home
  • Python Programming
  • Artificial Intelligence
  • Research
    • About Shahinur
    • Air-Writing Datsets
      • RTD Dataset
      • RTC Dataset
  • Blog
  • বাংলা
How to display a bar chart in a different color in python

How to display a bar chart in a different color in python

by Shahinur | Nov 27, 2019 | Matplotlib, Python

When we use the bar chart in matplotlib python library, the default bar color is uniform. We can change it by simply using the set_color() property. For example, follow this code snippet- import matplotlib.pyplot as plt plt.figure() barlist=plt.bar([1,2,3,4],...
Draw/plot a line graph in python using matplotlib

Draw/plot a line graph in python using matplotlib

by Shahinur | Sep 25, 2019 | Matplotlib, Python

Data visualization and interpretation are very important to understand the data and its property. Making decisions from raw data is really difficult especially in machine learning, deep learning, accuracy comparison, etc. Using python it is very easy to plot a graph,...

Recent Comments

    Categories

    • Algorithm (3)
    • Artificial Intelligence (2)
    • Basic Terminology (4)
    • C (5)
    • C++ (5)
    • Computer Vision (2)
    • Data Structure (5)
    • Deep Learning (8)
    • Game Development (1)
    • Machine Learning (8)
    • Mathematics (2)
    • Matplotlib (2)
    • MediaPipe (1)
    • Miscellaneous (11)
    • OpenCV (2)
    • Optimization (3)
    • Pandas (1)
    • Python (39)
    • Reinforcement Learning (3)
    • Unreal Engine (1)
    • Virtual Reality (1)

    All right researved © Shahinur

    • Follow
    • Follow
    • Follow
    • Follow