- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
โ04-19-2022 05:02 AM
I have searched several ways on applying a bold to a text however unable to achieve it.
Have added '\033[1m' then my text and followed by '\033[0m', however cant see the text as bold.
I need to apply Bold to the Header "Ocean" in below image which is in Dataframe
for row in Nlargest_map_df.index:
array = '\033[1m'+""+Nlargest_map_df['County'][row]+'\033[0m'+"\nMarket Size : "+Nlargest_map_df['Market Size'][row]+"K"+"\nMarket Growth : "+Nlargest_map_df['Market Growth'][row]+"%"+"\nMarket Leader : "+Nlargest_map_df['Market Leader'][row]+"\n"
- Labels:
-
Text
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
โ08-09-2022 11:55 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
โ04-20-2022 09:48 AM
Are you using Databricks platform?
if Yes here's and example-
%md
## Databricks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
โ04-21-2022 10:26 PM
@Aashita Ramtekeโ Thanks but I am not looking for markdown.
I am writing some text on an image, so I am taking a text variable for the text. I need to bold that text.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
โ08-09-2022 11:55 PM
I have used plt.text() to make text bold