تغییر جهت لیبل نمودار x ها در Matplotlib یکی از سوالاتی که خیلی پرسیده شده است این است که چگونه جهت لیبل های نمودار x را تغییر دهیم. این موضوع زمانی اهمیت پیدا می کند که تعداد داده ها خیلی زیاد هستند و نمودار x ها عملا غیر قابل استفاده می شود. برای این موضوع 5 روش وجود دارد که برای نمونه یکی از آنها را در تصویر این پست قرار می دهم.
# Option 3 for label in ax.get_xticklabels(): label.set_rotation(30) label.set_ha('right')
# Option 4 ax.tick_params(axis='x', labelrotation=30) # Eventually, this shouldn't be needed and an ha argument should # be available for the above. plt.xticks(ha='right')
تغییر جهت لیبل نمودار x ها در Matplotlib یکی از سوالاتی که خیلی پرسیده شده است این است که چگونه جهت لیبل های نمودار x را تغییر دهیم. این موضوع زمانی اهمیت پیدا می کند که تعداد داده ها خیلی زیاد هستند و نمودار x ها عملا غیر قابل استفاده می شود. برای این موضوع 5 روش وجود دارد که برای نمونه یکی از آنها را در تصویر این پست قرار می دهم.
# Option 3 for label in ax.get_xticklabels(): label.set_rotation(30) label.set_ha('right')
# Option 4 ax.tick_params(axis='x', labelrotation=30) # Eventually, this shouldn't be needed and an ha argument should # be available for the above. plt.xticks(ha='right')
Telegram is a cloud-based instant messaging service that has been making rounds as a popular option for those who wish to keep their messages secure. Telegram boasts a collection of different features, but it’s best known for its ability to secure messages and media by encrypting them during transit; this prevents third-parties from snooping on messages easily. Let’s take a look at what Telegram can do and why you might want to use it.
Telegram Auto-Delete Messages in Any Chat
Some messages aren’t supposed to last forever. There are some Telegram groups and conversations where it’s best if messages are automatically deleted in a day or a week. Here’s how to auto-delete messages in any Telegram chat. You can enable the auto-delete feature on a per-chat basis. It works for both one-on-one conversations and group chats. Previously, you needed to use the Secret Chat feature to automatically delete messages after a set time. At the time of writing, you can choose to automatically delete messages after a day or a week. Telegram starts the timer once they are sent, not after they are read. This won’t affect the messages that were sent before enabling the feature.