

{"id":117908,"date":"2023-12-14T18:00:48","date_gmt":"2023-12-14T12:30:48","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=117908"},"modified":"2023-12-14T18:02:28","modified_gmt":"2023-12-14T12:32:28","slug":"labels-and-titles-in-matplotlib","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/labels-and-titles-in-matplotlib\/","title":{"rendered":"Labels and Titles in Matplotlib"},"content":{"rendered":"<p>Matplotlib is a strong Python library commonly used for plotting and graphing data. It has a wide variety of features for producing eye-catching graphs and conveying data insights. As labels in matplotlib play a significant role in improving plot understanding and transmitting information to the viewer, we will devote this article to discussing labels and their usefulness in Matplotlib.<\/p>\n<h2>Learning Labels in Matplotlib<\/h2>\n<h3>Definitions and Classifications of Matplotlib Labels<\/h3>\n<p>Labels in data visualisation are textual annotations that describe the data points, axes, and other parts of the visualisation. They help to clarify the story&#8217;s meaning and make the action easier to follow.<\/p>\n<h3>Different kinds of Labels in Matplotlib<\/h3>\n<p>Matplotlib&#8217;s label options include axis labels, plot titles, and legends, among others.<\/p>\n<p>Data on the x and y axes may be described by their respective axis labels. They aid in the recognition of the displayed variables and provide meaning to the data.<\/p>\n<p>The plot&#8217;s title should be a brief, descriptive phrase that conveys the story&#8217;s central theme or conflict. It&#8217;s a headline that sums up the visualization&#8217;s key point.<\/p>\n<h3>Axis Labels and Titles in Matplotlib<\/h3>\n<h4>Labelling the X and Y Axes<\/h4>\n<p>Matplotlib&#8217;s xlabel() and ylabel() methods allow us to label the x and y axes, respectively. Label text is specified by passing a string to these methods as an argument. Moreover, we have control over the positioning, size, and colour of labels.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">import matplotlib.pyplot as plott\r\n\r\n\r\nlist_a = [2, 4, 6, 8, 10]\r\nlist_b = [20, 30, 14, 24, 18]\r\nlist_c = [20, 32, 40, 24, 52]\r\n\r\n\r\nplott.plot(list_a, list_b)\r\nplott.xlabel(\"X-axis Label\")\r\nplott.ylabel(\"Y-axis Label\")\r\n\r\n\r\nplott.show()\r\n<\/pre>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/11\/Labelling-the-X-and-Y-Axes.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-125390 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/11\/Labelling-the-X-and-Y-Axes.webp\" alt=\"Labelling the X and Y Axes\" width=\"556\" height=\"428\" \/><\/a><\/p>\n<p>Labels for the x and y axes have been added with the help of the xlabel() and ylabel() utilities in this code. Feel free to alter the label wording and try other layouts.<\/p>\n<h4>Graph Title<\/h4>\n<p>The title of the narrative tells you all you need to know about what it&#8217;s about. The title() method in Matplotlib enables us to customise the plot&#8217;s name. The alignment, size, and colour of the text are only a few of the features we have control over.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">plott.plot(list_a, list_b)\r\nplott.title(\"Plot Graph Title DataFlair\")\r\n\r\n\r\nplott.show()\r\n<\/pre>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/11\/Graph-Title.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-125391 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/11\/Graph-Title.webp\" alt=\"Graph Title\" width=\"536\" height=\"428\" \/><\/a><\/p>\n<p>The title() function is used in this code to designate &#8220;Plot Title&#8221; as the plot&#8217;s official name. To get the best title and layout for your data visualisation tasks, try a few different things.<\/p>\n<h3>Legends and Labels in Matplotlib<\/h3>\n<h4>Making History<\/h4>\n<p>When numerous lines or data series are available, Matplotlib&#8217;s legends come in handy for distinguishing the various plot parts. The legend() method allows us to easily build a legend using the labels used in the plot&#8217;s generation process.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">plott.plot(list_a, list_b, label='Line A')\r\nplott.plot(list_a, list_c, label='Line B')\r\nplott.legend()\r\n\r\n\r\nplott.show()\r\n<\/pre>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/11\/Making-History.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-125392 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/11\/Making-History.webp\" alt=\"Making History \" width=\"536\" height=\"408\" \/><\/a><\/p>\n<p>The legend() method in this code sample generates a legend based on the labels that were given to the lines through the label argument. Make your own labels and try out various legend placements.<\/p>\n<h4>Layout and Naming of Legends<\/h4>\n<p>Matplotlib offers a number of ways to alter the legend labels so that they are more understandable. The legend&#8217;s appearance, font attributes, and spacing may all be adjusted with the use of optional options.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">plott.plot(list_a, list_b, label='Line A')\r\nplott.legend(title='Legend Title [DataFlair]', loc='upper right', fontsize='large')\r\n\r\n\r\nplott.show()\r\n<\/pre>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/11\/Layout-and-Naming-of-Legends.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-125393 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/11\/Layout-and-Naming-of-Legends.webp\" alt=\" Layout and Naming of Legends\" width=\"536\" height=\"408\" \/><\/a><\/p>\n<p>The title argument in this code sample specifies the legend&#8217;s title, the loc parameter places the legend in the top right corner, and the fontsize parameter modifies the legend&#8217;s font size. Try out many layouts to find one that works for your legend.<\/p>\n<h3>Matplotlib: Tick and Label Configuration<\/h3>\n<p>The ticks on a graph&#8217;s axes denote individual data points or intervals. The values assigned to ticks are referred to as &#8220;tick labels.&#8221; Matplotlib computes the appropriate ticks and ticks labels for the given data range automatically. But we may adjust them so that they&#8217;re easier to read and comprehend.<\/p>\n<h4>Customising the Positions and Names of Ticks<\/h4>\n<p>Let&#8217;s have a look at a basic sine wave graphic. Matplotlib uses the data range to determine where to place ticks and what to name them. To make the plot more useful, though, we may alter the tick positions and labels.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">import matplotlib.pyplot as plott\r\nimport numpy as numpyy\r\n\r\n\r\n# Generate data\r\nx_axis = numpyy.linspace(1, 5 * numpyy.pi, 50)\r\ny_axis = numpyy.sin(x_axis)\r\n\r\n\r\n# Create the plot\r\nplott.plot(x_axis, y_axis)\r\n\r\n\r\n# Customize tick locations and labels\r\nplott.xticks([0, 2 * numpyy.pi, 4 * numpyy.pi], ['0', '2$\\pi$', '4$\\pi$'])\r\nplott.yticks([-1, 0, 1], ['-1', '0', '1'])\r\n\r\n\r\n# Add labels and title\r\nplott.xlabel('Angle (radians)')\r\nplott.ylabel('Amplitude')\r\nplott.title('Sine Wave DataFlair')\r\n\r\n\r\n# Display the plot\r\nplott.show()\r\n<\/pre>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/11\/Customising-the-Positions-and-Names-of-Ticks.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-125394 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/11\/Customising-the-Positions-and-Names-of-Ticks.webp\" alt=\"Customising the Positions and Names of Ticks\" width=\"559\" height=\"455\" \/><\/a><\/p>\n<p>Here, we see how to modify the x and y axis tick positions and labels with the help of plott.xticks() and plott.yticks(). Tick locations are sent to these functions as the first parameter, and tick labels are provided as the second. Here, we&#8217;ve placed x-axis ticks at 0 and 2 and y-axis ticks at -1, 0, and 1. Tick labels also have the symbol, which is shown in LaTeX notation.<\/p>\n<h4>Using the Scalar Formatter with Tick Labels<\/h4>\n<p>The labels on the ticks might become difficult to see when the numbers involved are particularly large or little. Matplotlib has a ScalarFormatter, which produces tick labels in scientific notation automatically.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">import matplotlib.pyplot as plott\r\n\r\n\r\n# Sample data\r\nx_axis = [5e6, 10e6, 15e6, 20e6]\r\ny_axis = [100000, 150000, 260000, 500000]\r\n\r\n\r\n# Create the plot\r\nplott.plot(x_axis, y_axis)\r\n\r\n\r\n# Use ScalarFormatter for tick labels\r\nplott.ticklabel_format(style='sci', axis='both', scilimits=(0, 0))\r\n\r\n\r\n# Add labels and title\r\nplott.xlabel('People')\r\nplott.ylabel('Gross Income')\r\nplott.title('People vs. Gross Income DataFlair')\r\n\r\n\r\n# Display the plot\r\nplott.show()\r\n<\/pre>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/11\/Using-the-Scalar-Formatter-with-Tick-Labels.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-125395 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/11\/Using-the-Scalar-Formatter-with-Tick-Labels.webp\" alt=\"Using the Scalar Formatter with Tick Labels\" width=\"567\" height=\"455\" \/><\/a><\/p>\n<p>In this case, the x and y axes are formatted using the ScalarFormatter using plott.ticklabel_format(). With the style=&#8217;sci&#8217; argument, Matplotlib is instructed to display values in scientific notation; the scilimits=(0, 0) option causes all tick labels to be shown in scientific notation as well.<\/p>\n<h3>The annotations and Labels in Subplots<\/h3>\n<h4>Labels for Axis and Subplot Titles<\/h4>\n<p>Matplotlib&#8217;s subplots make it possible to include numerous plots into a single diagram, streamlining the process of comparing and contrasting various data points. Subplot names and labels improve readability and highlight key information that is distinct to each subplot.<\/p>\n<p><strong>Identifying and titling each subplot separately:<\/strong><\/p>\n<p>Subplot titles and labels may be customised with the help of set_title() and set_xlabel()\/set_ylabel(). Using these techniques, we may customise the subplot titles, axis labels, and y-axis labels.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">import matplotlib.pyplot as plott\r\n\r\n\r\nfiguree, axiss = plott.subplots(2)\r\n\r\n\r\naxiss[0].plot([2, 4, 6, 8], [3, 12, 6, 9])\r\naxiss[0].set(title='Subplot A', xlabel='X-axis', ylabel='Y-axis')\r\n\r\n\r\naxiss[1].plot([2, 4, 6, 8], [3, 12, 6, 9])\r\naxiss[1].set(title='Subplot B', xlabel='X-axis', ylabel='Y-axis')\r\n\r\n\r\nfiguree.suptitle('Customizing Subplots DataFlair')\r\nplott.tight_layout()\r\nplott.show()\r\n<\/pre>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/11\/Labels-for-Axis-and-Subplot-Titles.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-125396 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/11\/Labels-for-Axis-and-Subplot-Titles.webp\" alt=\"Labels for Axis and Subplot Titles\" width=\"630\" height=\"475\" \/><\/a><\/p>\n<p>In this piece of code, we generate a subplot grid and name the axes, y-axes, and subplots. You may alter the content and the available formats to meet your needs.<\/p>\n<h4>Similarity in Axis Labelling<\/h4>\n<p>When many subplots utilise the same x- or y-axis, it might be more efficient to have a single label for that axis rather than multiple labels. Matplotlib enables us to reduce duplication and increase readability by reusing axis labels across several subplots.<\/p>\n<p><strong>Using the same axis labels for several charts at once:<\/strong> When creating subplots, the sharex and sharey options allow us to share axis labels. This guarantees that the subplots all use the same axis (and label) for their respective axes.<\/p>\n<h3>Conclusion<\/h3>\n<p>Annotations and labels in Matplotlib were the topics of this article, with a special emphasis on subplot titles, axis labels, and shared axis labels. We figured out how to personalise the appearance of the subplots, modify their attributes, and make axis labels that apply to several plots. The clarity and readability of our graphs may be improved by the strategic use of annotations and labels.<\/p>\n<p>Don&#8217;t forget to try out new label styles, formats, and customisation choices as you continue to explore Matplotlib&#8217;s realm of data visualisation. You&#8217;ll be able to make graphs that convey your data insights clearly and aesthetically.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Matplotlib is a strong Python library commonly used for plotting and graphing data. It has a wide variety of features for producing eye-catching graphs and conveying data insights. As labels in matplotlib play a&#46;&#46;&#46;<\/p>\n","protected":false},"author":86671,"featured_media":117910,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27777],"tags":[29082,29078,29080,29079,29081],"class_list":["post-117908","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-matplotlib-tutorials","tag-annotations-in-matplotlib","tag-labels-and-titles-in-matplotlib","tag-matplotlib-labels","tag-matplotlib-labels-and-titles","tag-matplotlib-titles"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Labels and Titles in Matplotlib - DataFlair<\/title>\n<meta name=\"description\" content=\"Annotations and labels in Matplotlib were the topics of this article, with a special emphasis on subplot titles, axis labels, and shared axis labels.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/data-flair.training\/blogs\/labels-and-titles-in-matplotlib\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Labels and Titles in Matplotlib - DataFlair\" \/>\n<meta property=\"og:description\" content=\"Annotations and labels in Matplotlib were the topics of this article, with a special emphasis on subplot titles, axis labels, and shared axis labels.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/labels-and-titles-in-matplotlib\/\" \/>\n<meta property=\"og:site_name\" content=\"DataFlair\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DataFlairWS\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-12-14T12:30:48+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-14T12:32:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/08\/labels-in-matplotlib.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1141\" \/>\n\t<meta property=\"og:image:height\" content=\"593\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"TechVidvan Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:site\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"TechVidvan Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Labels and Titles in Matplotlib - DataFlair","description":"Annotations and labels in Matplotlib were the topics of this article, with a special emphasis on subplot titles, axis labels, and shared axis labels.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/data-flair.training\/blogs\/labels-and-titles-in-matplotlib\/","og_locale":"en_US","og_type":"article","og_title":"Labels and Titles in Matplotlib - DataFlair","og_description":"Annotations and labels in Matplotlib were the topics of this article, with a special emphasis on subplot titles, axis labels, and shared axis labels.","og_url":"https:\/\/data-flair.training\/blogs\/labels-and-titles-in-matplotlib\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2023-12-14T12:30:48+00:00","article_modified_time":"2023-12-14T12:32:28+00:00","og_image":[{"width":1141,"height":593,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/08\/labels-in-matplotlib.webp","type":"image\/webp"}],"author":"TechVidvan Team","twitter_card":"summary_large_image","twitter_creator":"@DataFlairWS","twitter_site":"@DataFlairWS","twitter_misc":{"Written by":"TechVidvan Team","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/labels-and-titles-in-matplotlib\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/labels-and-titles-in-matplotlib\/"},"author":{"name":"TechVidvan Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/0e594f928e31fc96628ac40f6ae74f49"},"headline":"Labels and Titles in Matplotlib","datePublished":"2023-12-14T12:30:48+00:00","dateModified":"2023-12-14T12:32:28+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/labels-and-titles-in-matplotlib\/"},"wordCount":1097,"commentCount":0,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/labels-and-titles-in-matplotlib\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/08\/labels-in-matplotlib.webp","keywords":["annotations in matplotlib","labels and titles in matplotlib","matplotlib labels","matplotlib labels and titles","matplotlib titles"],"articleSection":["Matplotlib Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/labels-and-titles-in-matplotlib\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/labels-and-titles-in-matplotlib\/","url":"https:\/\/data-flair.training\/blogs\/labels-and-titles-in-matplotlib\/","name":"Labels and Titles in Matplotlib - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/labels-and-titles-in-matplotlib\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/labels-and-titles-in-matplotlib\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/08\/labels-in-matplotlib.webp","datePublished":"2023-12-14T12:30:48+00:00","dateModified":"2023-12-14T12:32:28+00:00","description":"Annotations and labels in Matplotlib were the topics of this article, with a special emphasis on subplot titles, axis labels, and shared axis labels.","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/labels-and-titles-in-matplotlib\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/labels-and-titles-in-matplotlib\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/labels-and-titles-in-matplotlib\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/08\/labels-in-matplotlib.webp","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/08\/labels-in-matplotlib.webp","width":1141,"height":593,"caption":"labels in matplotlib"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/labels-and-titles-in-matplotlib\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog Home","item":"https:\/\/data-flair.training\/blogs\/"},{"@type":"ListItem","position":2,"name":"Matplotlib Tutorials","item":"https:\/\/data-flair.training\/blogs\/category\/matplotlib-tutorials\/"},{"@type":"ListItem","position":3,"name":"Labels and Titles in Matplotlib"}]},{"@type":"WebSite","@id":"https:\/\/data-flair.training\/blogs\/#website","url":"https:\/\/data-flair.training\/blogs\/","name":"DataFlair","description":"Learn Today. Lead Tomorrow.","publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/data-flair.training\/blogs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/data-flair.training\/blogs\/#organization","name":"DataFlair","url":"https:\/\/data-flair.training\/blogs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","width":106,"height":48,"caption":"DataFlair"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DataFlairWS\/","https:\/\/x.com\/DataFlairWS","https:\/\/www.linkedin.com\/company\/dataflair-web-services-pvt-ltd\/","https:\/\/www.youtube.com\/user\/DataFlairWS"]},{"@type":"Person","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/0e594f928e31fc96628ac40f6ae74f49","name":"TechVidvan Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/c89190da3d4010c71ba476b618ab10fdc2335c82cdfa0ad5002d98d0f2473444?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/c89190da3d4010c71ba476b618ab10fdc2335c82cdfa0ad5002d98d0f2473444?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c89190da3d4010c71ba476b618ab10fdc2335c82cdfa0ad5002d98d0f2473444?s=96&d=mm&r=g","caption":"TechVidvan Team"},"description":"TechVidvan Team provides high-quality content &amp; courses on AI, ML, Data Science, Data Engineering, Data Analytics, programming, Python, DSA, Android, Flutter, full stack web dev, MERN, and many latest technology.","url":"https:\/\/data-flair.training\/blogs\/author\/test001\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/117908","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/users\/86671"}],"replies":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/comments?post=117908"}],"version-history":[{"count":6,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/117908\/revisions"}],"predecessor-version":[{"id":126561,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/117908\/revisions\/126561"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/117910"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=117908"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=117908"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=117908"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}