Kimberly, I think you should be given a noble price of teaching. I love your way of driving the concepts home, your energy and your enthusiasm. You're the best.
Thanks it helped! w.r.t time = 6:43 Just adding another tip for someone in future (maybe myself :D) Rather than using 'labelcolor' in ax.tickparams(), you could use 'colors' to set the ticks along with the label to the same color instead of the default black Cheers!
Your videos are the best I've ever seen in this field, but I have a question: have You thought about making videos which showing plotly library? It would be amazing in Your performance. Cheers :)
Kimberly, is there a way to connect the data points of the spines to each other? For example, if I have a data of 10 rows and 4 columns. In which each column is a separate y axis with its own scale while each row is a single observation, is there a way to connect the data points of a single observation with a line even though they have separate y axis?
can you make a video or update code at your Github for how to split single y-axis in two portions۔ for example plot X and its square on the same axis with partition
How do you prevent the figure from expanding horizontally when using twinx? I set my figure dimensions in the main figure, let's say 8.4 by 6.2 centimeters. The first figure is added as a subplot, and the twinx is added to this subplot. Without the twinx, the figure nicely scales to 8.4 to 6.2 cm as desired. When adding the twinx, the figure expands by at least 1 extra cm.
You're right - the figure size will be a bit different with the new axis since you have added axis tick markers. One thing that can help a bit is adding a line of code at the end of your figure: plt.tight_layout()
Thanks for this Video, but why the line does not start at the x = 0 | y = 0 when you define the variable x and y with linespace(0,100,1000), the 0 is included as a x[0] and y[0] but i can not udnestand why when i plot it the line start after a space, i know it is a 0,0 in the chart, but how can i fix this?. Is my question clear? haha Thx!
Kimberly, I think you should be given a noble price of teaching. I love your way of driving the concepts home, your energy and your enthusiasm. You're the best.
Thank you. I initially came to learn how `twinx` works, but I ended up learning a lot of other helpful things as well. I'm subscribing 🙂.
Awesome! Welcome aboard! 👍
Extraordinary!!! I love how you explain everything concisely. Thank you very much for the video ❤️
So glad you enjoyed the video and found it concise -- cheers! 😄
Was hung up on the legend overlapping for a bit, thanks
Neat!!!!
Thank you so much for sharing this content.
It really made my life easier here.
Cheers!!!!
Thanks it helped!
w.r.t time = 6:43
Just adding another tip for someone in future (maybe myself :D)
Rather than using 'labelcolor' in ax.tickparams(), you could use 'colors' to set the ticks along with the label to the same color instead of the default black
Cheers!
Your videos are the best I've ever seen in this field, but I have a question:
have You thought about making videos which showing plotly library?
It would be amazing in Your performance. Cheers :)
Oh thanks so much! 😄Yes, I have been considering tackling the Plotly library for quite some time. Hopefully I will get to it soon!
Thank you for the clear and precise tutorials!
Most welcome - it's amazing all the things that Matplotlib can do!
Beautifully explained by a beautiful lady👏
💁 Thanks very much -- glad to hear you enjoyed my explanation!
Many thanks for this tutorial!
Excellent video ! Very clear and informative as always.. thank you so much for this Tips series !
Most welcome! Glad you enjoyed this video and series 😄
Thanks , that was interesting.
Amazing video!
Super nice explanation
Thanks very much! Glad you liked it 😊
very informative,,,
Thank you !
So helpful. Thank you.
Really great tutorial!📈
Hello, can you please do a video about bias and variance, you have a good way of explanation.
Thank you :)
Great idea! I will add this to my list of potential video topics. 😄
Thank you so much! This is a big help!
Awesome - and thank YOU for asking this question!! 😄
this is very useful one!
Great information, thanks.
Most welcome!
great video
keep it up 👍
Kimberly, is there a way to connect the data points of the spines to each other? For example, if I have a data of 10 rows and 4 columns. In which each column is a separate y axis with its own scale while each row is a single observation, is there a way to connect the data points of a single observation with a line even though they have separate y axis?
can you make a video or update code at your Github for how to split single y-axis in two portions۔ for example plot X and its square on the same axis with partition
How do you prevent the figure from expanding horizontally when using twinx? I set my figure dimensions in the main figure, let's say 8.4 by 6.2 centimeters. The first figure is added as a subplot, and the twinx is added to this subplot. Without the twinx, the figure nicely scales to 8.4 to 6.2 cm as desired. When adding the twinx, the figure expands by at least 1 extra cm.
You're right - the figure size will be a bit different with the new axis since you have added axis tick markers. One thing that can help a bit is adding a line of code at the end of your figure: plt.tight_layout()
Hii mam could you show the samething in a subplot?
Thanks for this Video, but why the line does not start at the x = 0 | y = 0
when you define the variable x and y with linespace(0,100,1000), the 0 is included as a x[0] and y[0] but i can not udnestand why when i plot it the line start after a space, i know it is a 0,0 in the chart, but how can i fix this?.
Is my question clear? haha
Thx!
Fixed with
axes.set_xlim([0,x.max()])
axes.set_ylim([0,z.max()])
but i dont know if that is the idea.
Great :)
Thank you! Cheers! 😄