cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

How to bold a text ?

AJ270990
Contributor II

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

imagefor 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"  

1 ACCEPTED SOLUTION

Accepted Solutions

AJ270990
Contributor II

I have used plt.text() to make text bold

View solution in original post

3 REPLIES 3

Aashita
Databricks Employee
Databricks Employee

Are you using Databricks platform?

if Yes here's and example-

%md
## Databricks

@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.

AJ270990
Contributor II

I have used plt.text() to make text bold

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group