Answer:
Napoleon was both a hero and a tyrant.
He was heroic when he brought law and order back to France, when the country was in chaos after the French Revolution. Then, he became a tyrant when he declared himself Emperor.
However, many of the principles that guided the French Revolution where included in his regime, and he developed a system of laws that is used in most of continental Europe to this day: the Napoelonic Code.
He got himself into many wars attempting at building a French-dominated Europe, and almost succeeded at it. He was defeated only because essentially of all Europe became his enemy, and joined forces against him.
As we can see, Napoleon is a complex and fascinating figure that cannot be classified as either a tyrant or a hero. He was both.